how we can call any cssclass at onclientclick through javasc
how we can call any cssclass through javascript function at onclintclick in asp.net
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Apr 1, 2014, 7:56 AM
Please refer if you are using HTML5
http://css-tricks.com/snippets/html/open-link-in-a-new-window/
other wise using window.open you can achieve this.
http://www.c-sharpcorner.com" onclick="window.open(this.href); return false;">

hope this will help you.
sudheer kumarPosted Apr 1, 2014, 7:47 AM
Jignesh TrivediPosted Apr 1, 2014, 7:38 AM
you mean to change Cssclass of element from java script?
Please refer
http://www.w3schools.com/jquery/jquery_css_classes.asp