javascript properties .net properties -


could please compare properties

i want disable text box 'txtname'. there 2 ways

  1. use javascript, txtname.disabled = true
  2. use asp.net , <.. enabled="false" ..>

which method better , why?

i assume enabled="false" results in disabled="disabled" in generated html code. in case that's better way doesn't require user have javascript enabled.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -