[jQuery] how to call custom function

2009-07-23 Thread dhana
I dont know how to call the custom javascript function with arguments

[jQuery] Data() method, just changing value of one hash element

2009-04-14 Thread Dhana
I am using the jQuery Data method to store data for dynamically created elements. Everything works fine until I try to update the value of an attribute. This is how I first create the element. $j.data(item, 'attributes', { Name: name, UOM: uom, Wa

[jQuery] Re: How do I get attributes of clicked link

2009-03-23 Thread Dhana
You mean like the title or the href or any other defined attributes of the link? You could do this $('link').click(function(){ var title = $(this).attr('title'); var href = $(this).attr('href'); var id = $(this).attr('title'); }); On Mar 23, 9:25 pm, kevinm wrote: > I am need to get t

[jQuery] Re: With IE8 out, how do you test for IE6?

2009-03-23 Thread Dhana
The best way if you use Windows is to install virtual PC. Get the Virtual PC for free from Microsoft here http://www.microsoft.com/downloads/details.aspx?FamilyId=04D26402-3199-48A3-AFA2-2DC0B40A73B6&displaylang=en Then, download the VHD images here. They usually expire after a few months, but

[jQuery] Re: access denied error in IE

2009-03-20 Thread Dhana
ate it. On Mar 20, 9:03 pm, mkmanning wrote: > Chrome's security warning (although FF should warn you depending upon > your settings). > > On Mar 20, 8:59 pm, Dhana wrote: > > > Ha, > > > That might be it - that was the original development site.  One more >

[jQuery] Re: access denied error in IE

2009-03-20 Thread Dhana
eplacement.brighthouse.com but the > > server identifies itself as mybrighthouse.msoservices.com > > > On Mar 20, 8:32 pm, Dhana wrote: > > > > An edit to the comment above, I am not trying to access or share data > > > between the parent window and the iframe contained

[jQuery] Re: access denied error in IE

2009-03-20 Thread Dhana
An edit to the comment above, I am not trying to access or share data between the parent window and the iframe contained in it. (instead of "two iframes") On Mar 20, 8:30 pm, Dhana wrote: > Ok,  but the thing is, I am not accessing any content per se.  I am > simply displaying t

[jQuery] Re: access denied error in IE

2009-03-20 Thread Dhana
n iframe when it's in a different > domain (different domain == subdomain). > > On Mar 20, 7:58 pm, Dhana wrote: > > > I know this message is not supposed to be here since it's not a jquery > > issue, but I really need some in depth help on this. > >

[jQuery] access denied error in IE

2009-03-20 Thread Dhana
I know this message is not supposed to be here since it's not a jquery issue, but I really need some in depth help on this. I have an iframe in a domain here http://www.brighthouse.com/products/home_phone/IND/battery.aspx. The iframe basically contains the shopping section of the site. The if

[jQuery] Re: live works in IE6?

2009-02-06 Thread Dhana
Ok, an update, I put in a few alerts and looks like the event.target is returning the img tag for ie7 and Firefox and IE6 is returning an a tag. Just a little curious on this different event bubbling. Could someone clarify this if you have any ideas.

[jQuery] live works in IE6?

2009-02-06 Thread Dhana
On a project I am currently working on, I decided to test out the new live function. The function works fine in IE 7 and Firefox, but the event is not even triggered in IE6. Any ideas why this is happening?

[jQuery] Re: Jquery and AJAX

2008-10-28 Thread Dhana
Looks like what's happening is the update panel (.NET right?) replaces the entire html content with the asynchronous postback. At this point, none of your HTML elements are bound to the event handlers since they were all rewritten. You could prevent this by doing one of 2 things - 1) Event del