How we can call any cssclass at onclientclick through javasc
how we can call any cssclass through javascript function at onclintclick in asp.net
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh TrivediRank #16 · 50.3K reputationPosted Apr 1, 2014, 3:38 AM EDT
you mean to change Cssclass of element from java script?
Please refer
http://www.w3schools.com/jquery/jquery_css_classes.asp
sudheer kumarRank #6,677 · 259 reputationPosted Apr 1, 2014, 3:47 AM EDT
Jignesh TrivediRank #16 · 50.3K reputationPosted Apr 1, 2014, 3:56 AM EDT
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.