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">
well I am a senior PHP programmer trying to do something in ASP (don't ask me why). I suppose that everything that is done with ASP,PHP,C# and so forth is done on server side. My problem is that I can't use the same Div tag to display forms with different content.
Somehow the old stuff still remains. Wich sometimes is very good but sometimes they're not. It gets even more strange when I try to use a "new" Div tag to display the content from a sql query. It wont even show it self :) Thats is probably due to some programming
error. I have tried ordinary programming stuff such as displaying variables with response.write, soo...another question is their support of php in the .net enviroment? Well u can skip my last question but the other is more important.
cornelii
Member
30 Points
6 Posts
Div, strange caching
Dec 09, 2003 07:26 AM|LINK
Atrax
All-Star
18705 Points
3733 Posts
Re: Div, strange caching
Dec 09, 2003 08:16 AM|LINK
Jason Brown - MVP, IIS
cornelii
Member
30 Points
6 Posts
Re: Div, strange caching
Dec 09, 2003 02:25 PM|LINK