Code doesn't execute in normal stage, but it does with breakpoints.
Hi,
I have the following code:
- $(".editproduct").click(function(){
- id = this.id;
- $("#content_new").dialog('open');
- });
When i click on an element with the class 'editproduct' nothing happens. But when i put in breakpoints in Firebug on the lines above everything works like a charm. Is jQuery trying to do things faster then I want? I thought the ID didn't got set but that's no problem, because when there is no ID set it should open anyway.