darronahmed
New Member
I'm experiencing problems passing the physical size of a div (height and width) into an ASP.NET variable using a hidden field and jQuery.This is my code, but it is not working:\[code\]$("<%=hfAdvertHeight.ClientID %>").val($("#Advert_Container").attr("height"));\[/code\]Any ideas?Many thanks.