Check this code out:
var socialProvider = $('#loginProvider').val();
So I have a hidden field with the ID loginProvider that receives the name of a
social networking site using plugin. Then, based on the name found in the value
loginProvider, it selects the appropriate image to appear in the ID social_icon.
It all works fine but I *thought* using firebug, I should see the name of the
social networking site appear in the value of loginProvider, but I did not. To
verify it was working, I needed to alert the value of loginProvider instead.
Shouldn't firebug show the value attribute of the hidden field being populated?