Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8793445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:07:25+00:00 2026-06-13T23:07:25+00:00

I am using custome.js , PIE.js and jquery1_7_2.js file in my jsp This is

  • 0

I am using custome.js,PIE.js and jquery1_7_2.js file in my jsp

This is my custome.js and nothing more.

jQuery(document).ready(function(){
   jQuery(function() {

    if (window.PIE) {
        jQuery('#login-box, .sign-button, .new-user-btn, .grey-btn, .code-btn, #contact-email, #contact-email .continue, #contact-email .cancel').each(function() {
            PIE.attach(this);
        });
    }

});

})

everything working fine in all browser. But in Firefox it is showing me this error

Error: TypeError: PIE.attach is not a function
Source File: http://localhost:8080/MyApp/js/custom.js
Line: 6

Please guide me to solve this issue.

Edited:
It showing me error in this line of PIE.js

window.attachEvent(“onunload”,a);f.K.sa=function(b,c,d){b.attachEvent(c,d);this.ba(function(){b.detachEvent(c,d)})}})();f.Qa=new
f.ea;f.K.sa(window,”onresize”,function(){f.Qa.wa()});(function(){function
a(){f.mb.wa()}f.mb=new
f.ea;f.K.sa(window,”onscroll”,a);f.Qa.ba(a)})();(function(){function
a(){c=f.kb.md()}function b(){if(c){for(var
d=0,e=c.length;d

and custome.js in this line

PIE.attach(this);

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:07:25+00:00Added an answer on June 13, 2026 at 11:07 pm

    When attaching events in order to make it cross browser perform the following:

    if (target.addEventListener) {
        target.addEventListener(eventName, handlerName, false);
    } else if (target.attachEvent) {
        target.attachEvent("on" + eventName, handlerName);
    } else {
        target["on" + eventName] = handlerName;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Setup I am using custom Forms Authentication - all standard stuff. In the Login
I am using custom model binder in ASP.NET MVC 2 that looks like this:
I am using custom permissions in my Django models like this: class T21Turma(models.Model): class
I can start a phone call using this code var url = NSUrl.FromString(tel:+xxxxx); UIApplication.SharedApplication.OpenUrl(url);
When using custom validation under this scenario: if(officer.getBadgeId() == 0){ errors.rejectValue(badgeId, badgeId.required); } if
I'm thinking about using custom attributes in Jquery to avoid using class or id
I am using jquery DataTables and jEditable to allow inline editing of EACH CELL
I'm new to node.js world, I'm using node.js v0.8.4. I googled for this issue.
I am using custom sound in uilocalnotification in ios. but its not play. file
When I use a custome page inheriting from PhoneApplicationPage instead of directly using it,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.