jquery enabled selector
Translation results:
enabled
UK[e'neɪbld] US[e'neɪbld]
adj.Activated
v.Enable, provide The right to do... [measure] (past tense and past participle of enable); make possible
jquery enabled selectorsyntax
Function::enabled selector selects all enabled form elements.
Syntax: $(":enabled")
jquery enabled selectorexample
<html> <head> <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(":enabled").css("background-color","#B2E0FF"); }); </script> </head> <body> <html> <body> <form action=""> Name: <input type="text" name="user" /> <br /> Password: <input type="password" name="password" /> <br /> <button type="button">Useless Button</button> <input type="button" value="Another useless button" /> <br /> <input type="reset" value="Reset" /> <input type="submit" value="Submit" /> <br /> </form> </body> </html> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance
##