+ 2

Can i use attr instead of val.

$(function() { alert($("#name").attr("value")); });

26th Jan 2018, 10:24 AM
Prajith P
Prajith P - avatar
1 Antwort
+ 1
ya sure Why not?
27th Jan 2018, 9:03 PM
Shakir Dodhiya
Shakir Dodhiya - avatar