Hi All,
On this page: https://webform.bd.com/csdb/
How do I get the current height of the Main div tag and add 1000 to it? Same goes true for subtracting 1000 if someone wants to remove a license.
This is the JQuery that I am using to add/remove additional licenses:
If you add a license and scroll all the way to the bottom, you can see the "Main" div tag doesn't adjust to the added license.Code:<script type="text/javascript"> $(document).ready(function() { $("#AddL2").click(function(){ $("#License2").slideDown("fast"); }); $("#RemL2").click(function(){ $("#License2").slideUp("fast"); }); $("#AddL3").click(function(){ $("#License3").slideDown("fast"); }); $("#RemL3").click(function(){ $("#License3").slideUp("fast"); }); }); </script>


Reply With Quote
Bookmarks