[jQuery] Re: IE7 onclick object.function

2009-11-11 Thread Scott Sauyet
On Nov 11, 1:14 pm, Matthew wrote: > I posted this earlier, but perhaps I didn't explain it right. I responded to this question in the other thread: http://groups.google.com/group/jquery-en/browse_thread/thread/415d92ca6645b883# The issue is a trailing comma in your list of defaults. It h

Re: [jQuery] Re: IE7 onclick object.function

2009-11-11 Thread Joe Moore
Well, maybe all is not lost. How about this, which uses jQuery inside the function. Then you could call your plugin, I bet. Still not the best, but perhaps it will work. Test Page $(function() { $('a.detailLink').click(

[jQuery] Re: IE7 onclick object.function

2009-11-11 Thread Matthew
Thanks for the help Joe. Originally most of the on-page script was just javascript, but the function call was to a custom jQuery plugin. I did a modified version of what you suggested and rewrote the plugin to just be basic functions with parameters. Seems to work now, I'm just bummed I couldn't k

Re: [jQuery] Re: IE7 onclick object.function

2009-11-11 Thread Joe Moore
Mmm... I'm thinking there's a better way to do it, but as I'm not familiar with the code you are dealing with, here's what I came up with, basically you aren't using jQuery. Test Page $(function() { $('a.detailLink').click(

[jQuery] Re: IE7 onclick object.function

2009-11-11 Thread Matthew
I'm passing about 5 parameters to the function that are coming from php running in a loop. So I was thinking I needed to use the onclick on the tag so that I could just pass the php variables as parameters right there in the loop instead of storing them somehow and referencing them after the page