Dynamically change data role using javascript
Hi,
I need to change the data role of a div to either popup or nothing, say the following markup, I want pnlDealers to behave like a popup on some occasions but just as regular div on others. How do I do that? Thanks
- <div id="pnlDealers" style="display:none"></div>