jagadeeshds Posted March 14, 2011 Share Posted March 14, 2011 I have a panel in a page. i have to control that panl by javascript as well as through asp code. panel is contained in an div tag. Javascript code changes visibility of this div tag . and asp code should change the div tags visibility style. ?? Link to comment Share on other sites More sharing options...
thescientist Posted March 14, 2011 Share Posted March 14, 2011 If you want to change style of an element, then change it's relevant CSS property/attribute. Unless there's something were missing, but once server side code runs, it can't be run again until the page is refreshed or another HTTP request is made (like w/AJAX). So if you're are just changing styles, then the CSS is what you want to change. If you need to update with new content, then you want to employ AJAX. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.