#7765 closed bug (invalid)
jQuery IE8 error on <a onclick>
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.6 |
Component: | unfiled | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I'm using simple ajax to load data from server with php and passing it thru selector.load() jQuery function. when using firefox or other browser, the script went well and the needed function is run smoothly. but when i use IE (6,7,8) it shows error script and the page is not working.
this is the script that i use;
<a onclick='javascript:dlg('var1'.'var2');'>blabla</a>
where dlg is some jquery function
is <a onclick=> is not working on IE? how to resolve it? im using jquery 1.4.4, thanks.
Change History (2)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This is not a jQuery bug.
You have a period between your arguments instead of a comma, and "dlg" is not a jQuery function.
<a onclick='javascript:dlg('var1'.'var2');'>blabla</a>
Note: See
TracTickets for help on using
tickets.
This is the function that I use
and this is the ajax content