*Everything* in an HTML document is text. So, yes, you do.
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Chicken Salad Alchemist
I recycle.
I send everything back to the planet it came from.
"André" <> wrote in message
news:...
> Hi,
>
> I want to pass a integer value to client-side via a hiddenfield created in
> the aspx (HiddenField1)
>
> dim myvalue as integer
> myvalue=5
> HiddenField1=myvalue
>
> When fetching in Javascript, the value is of type string.
> var myvalue=document.getElementById("HiddenField5").va lue
>
> Is this by default? Do i have to parseInt each value passed?
>
> Thanks
> André
>
>
|