I want to resize a div from client-side, it's default value is height:500px, clicking my button sets it to height: 700px.
It's an asp.net web site.
I am asked to do this using AJAX and I am unclear if this means to use the client-side javascript from the Microsoft AJAX Library, or if this means to use server-side AJAX doing a partial postback.
The grid can be adjusted fine if I open the IE developer tools and adjust the inline css height:500px attribute of the div element.
<div id="myDiv" style="position: relative; width: 100%; height: 500px; overflow: hidden;">
Should this be done using AJAX, what are the options? JavaScript, JQuery, any advantage of using one or the other?
Edit: thanks