[jQuery] Trouble referencing an element's id after binding a click event to a set of elements

2008-06-19 Thread Dannster
Hello chaps and chapesses I have hit a bit of a snag and wondered if you could help me out. I am using the jHelperTip plugin and am trying to apply a tooltip to multiple info icons in one hit rather than code each one up individually. Here is my code $(".tooltipContainer .tooltipTrigger").jHel

[jQuery] Re: Nested Ajax callbacks not working in IE7

2008-04-08 Thread Dannster
Hi Jonny Yeah I tried that mate, it was still the same issue. It is definitely the JSON string in the data block that is causing the error. I just need to know how to get IE7 to like it Cheers Dannster

[jQuery] Re: Nested Ajax callbacks not working in IE7

2008-04-08 Thread Dannster
}, dataType: "json", success: function(msg) { alert('success'); }, error: function(msg) { alert('failed'); } }); IE doesnt like the data block at all and always fails without even hitting the web service. Dannster

[jQuery] Nested ajax calls not working in IE7

2008-04-08 Thread Dannster
Has anyone come across this issue? I have an ajax callback with a function defined in the success member which fires another ajax callback. In Firefox this works fine but in IE7 only the first callback fires. here is the code // Get a Session Id $.ajax({ type: "POST", url: "/WebService

[jQuery] Nested Ajax callbacks not working in IE7

2008-04-08 Thread Dannster
xhr.setRequestHeader("Content-type","application/json; charset=utf-8"); }, dataType: "json", success: function(e) { searchId = e; alert(searchId); getResults(); } }); } }); Any help appreciated, bit of a showstopper this one. Dannster