[jQuery] Simple CSS selector Question
Hi,
I am a beginner in Jquery who simply set up the configs and start
exploring.please help me in following. I have starter kit html page.
<form>
Form 2
<input name="bar" value="YYY" />
<input />
</form>
<p class="stuff">Okie this is hiding example
In script tag following things do not take effects
1. alert($("input[@name=bar]").val()); - it suppose to alert the value
of this input.
2. $("p[@class]").hide(); - My understanding is inner tag should
get hide