[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –
jQuery Tutorial – 41 – Focus out
by
Tags:
Comments
10 responses to “jQuery Tutorial – 41 – Focus out”
-
focusout event is not working plzz help..here is the code….
$('#name_text').focusin(function(){
$('#name_span').html('Enter your full name');
});$('#name_text').focusout(function(){
$('#name_span').html('');
});$('#password_text').focusin(function(){
$('#password_span').html('Enter Password');
});$('#password_text').focusout(function(){
$('#password_span').html('');
}); -
Alex?
-
159 to go
-
please upload video for how to copy code on button click(copy to clipboard)
-
You can post code, just not HTML code/tags.
-
Sorry to ask this q here.. coz i don't comment on youtube much but y am i not able to paste my code as a comment??
-
//Focus In and focus out/*$('#name').focusin(function(){$('#name_span').html('Enter ur name');
}).focusout(function(){//validation here$('#name_span').html('');});$('#age').focusin(function(){
$('#age_span').html('Enter ur age');}).focusout(function(){//validation here$('#age_span').html('');
});*/ MY CODES XD -
So what's the difference between blur and focusout?
-
i beg to differ, its only bad coding if the code is going to maintained and supported by season developers. If this project is going to handed off to customer with little to no web development experience… im not going to give them code they cant maintain… i value giving people product they can understand; not giving them lame excuses like, if you need something done, only i should do it.
-
What would the consequences of doing something in this manner?
Leave a Reply