On Mon, Sep 24, 2012 at 11: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 set a breakpoint at the e.preventDefault(); line and click
> the #submitSearchForm button. The debugger will stop at that line. Then
> you're able to use step debugging to check what's going on.
>

That method assumes that I know where the click() function is. My goal
is quite to find where that function may be. I apologise for not
making that clear.


> Sebastian
>
> PS: Using <button> tags for buttons offers more flexibility in designing the
> button contents (independently from the value that will be sent).
>

Thank you. I am just getting into Javascript development so advice
like this is very much appreciated. In fact, if you have any preferred
learning or reference resources then I would love to know about them,
especially for object-oriented Javascript as the prototype model is
very foreign to my C++ / C# / Java brain. Most of the information that
I have been able to Google for is extremely low quality or
uninformative (mostly blog posts from novices such as myself).

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

-- 
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

Reply via email to