Hi, I have two buttons. Each uses the same function 'readDivDB' with a sql syntax as a parameter. In that function I collect the data from a db and concatenates a (html) string and then I pass that string over with the innerhtml function. Example: str=str+"<input
type=text name=pg value='"+dr("pg").toString()+"' size='25'/>" namn.innerhtml=str And at the bottom of the code a placed a div tag.
Nothing strange here but I can't get any new values only the first. Has that something to do with caching or is there a way to 'reset' a div tag? Example: <div id="namn" runat="server">
cornelii
Member
30 Points
6 Posts
Div, strange caching
Dec 09, 2003 07:26 AM|LINK