On Tuesday, September 25, 2012 12:41:41 PM UTC+2, Dotan Cohen wrote:
>
> On Mon, Sep 24, 2012 at 11:21 PM, Sebastian Zartner 
> <[email protected] <javascript:>> 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.
>
 
Ok. For that purpose it's better to use Break On 
Next<https://getfirebug.com/wiki/index.php/Break_On_...>as Honza described it. 
Also note that there is a search 
field <https://getfirebug.com/wiki/index.php/Search_Field>, which you can 
use to find appearances of keywords like "submitSearchForm" in your code.
If you want to learn more about Firebug, you can also read other articles 
in our wiki <https://getfirebug.com/wiki>.
 

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

In this case it was a tip for HTML, not JavaScript. :-)
 

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

There are several good tutorials, references and tips and tricks pages for 
HTML, JavaScript and CSS.

*HTML*

   - http://www.w3schools.com/html/html5_intro.asp
   - http://www.html-5-tutorial.com/
   - http://www.tripwiremagazine.com/2012/03/html5-examples-tutorials.html
   - http://html5tutorial.net/category/general
   
*CSS
*
   
   - http://www.w3schools.com/css/
   - http://www.csstutorial.net/
   - http://www.echoecho.com/css.htm
   - http://www.w3.org/Style/Examples/011/firstcss.en.html
   
*JavaScript*

   - http://www.w3schools.com/js/default.asp
   - http://www.tizag.com/javascriptT/
   - http://www.tutorialspoint.com/javascript/javascript_quick_guide.htm
   - http://www.javascriptkit.com/javaindex.shtml
   
More or less complete references of available HTML5, CSS3 and JavaScript 
features:

   - https://developer.mozilla.org/
   - http://caniuse.com/

Hope that helps.

Sebastian

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