> What you can do to debug the code inside the click() function is to enable > the *Script* panel <https://getfirebug.com/wiki/index.php/Script_Panel> set > a breakpoint at the e.preventDefault(); line and click the > #submitSearchFormbutton. If you don't know where the e.preventDefault90 line actually is in the code, you can use "break on next" feature
1) Enable the script panel (refresh the page) 2) Activate Break on next by clicking on the 'pause' button at the left side of the Script panel toolbar 3) Click the #submitSearchFormbutton button on your page 4) The debugger should break on the first executed line Honza On Sep 24, 10:21 pm, Sebastian Zartner <[email protected]> wrote: > jQuery doesn't attach the event handler directly to the element. It uses > internal mechanisms for this purpose. > > What you can do to debug the code inside the click() function is to enable > the *Script* panel <https://getfirebug.com/wiki/index.php/Script_Panel> set > a breakpoint at the e.preventDefault(); line and click the > #submitSearchFormbutton. The debugger will stop at that line. Then you're > able to use step > debugging to check what's going on. > > Sebastian > > PS: Using <button> tags for buttons offers more flexibility in designing > the button contents (independently from the value that will be sent). -- You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at https://groups.google.com/forum/#!forum/firebug
