Hai All<BR><BR> I Have a combo box in my asp page.in the change of the index i want to change the CSS file attached to the page,can anybody help me with the code <BR><BR>regards<BR><BR>Sk
psuedo code;<BR><BR>if combo box checked<BR> response.write "<link href="somecss" />"<BR>else<BR> response.write "<link href="someothercss" />"<BR>end if<BR>
That's assuming he's happy with going back to the server.<BR><BR>If not, http://www.alistapart.com has a great article about enabling/disabling alternate stylesheets using client-side scripting.<BR><BR>Craig.
Hai I want the exact thing ,can you paste the code for me in this forum
No, because the tutorial is copyright of A List Apart.<BR><BR>What, is going to their site too hard?<BR><BR>Craig.
i have tried with this code craig <BR><BR>document.write ('<link rel="stylesheet" type="text/css" href="../css/123.css">');<BR><BR>but its hanging <BR><BR>
I'm sorry... The article I was on about doesn't attempt to write to the document.<BR><BR>http://www.alistapart.com/articles/alternate/<BR><BR>Craig.