However, what it does is use the instance of REVUNPRCE I am on, which is great, but then uses the first instance of GPRICE2 in the calculation and places the result in the first instance of UNPRCE3. I need it to use the same record I am on and not the first record. I am completely stumped.
function docopycat(x)
{
var y=document.getElementById(x).value
var x=document.getElementById("GPRICE2_<%=FO("ID")%>") .value
document.getElementById("UNPRCE3_<%=FO("ID")%>").v alue = x- y
I made the changes that you suggested. Without applying the loop the page works similar as before. If I have 2 rows of data and lets say I update the second row it is doing the onchange event of row 1. I am still not sure where to apply the loop.
************************************************** ***********************************
<input name="REVUNPRCE_<%=FO("ID")%>" type="text" id="REVUNPRCE_<%=FO("ID")%>" onChange="docopycat(this.id)" value="<%= FormatNumber((0.00),2,-2,-2,-2)%>" size="4">
************************************************** ***********************************
Would it be right after the code displayed above and if so, everytime I ran the page I received an error. And thank you for you patience in this matter
I understand exactly what you are saying, I am just not sure where to apply what you are saying. As stated earlier I am new to ASP, so I am working my way through different projects trying to get the hang of it. Could you please so me in the code I have provide where to apply the loop
I am new to ASP could you show me what you are referring to when you say to place an (x) in the name and ID of the text field and then in the javascript
how can i search that session variable so i can change the picture for the button so if it exists in the session variable the button will be different saying already in shortlist
would it be
if instr(session("recordsInCart"), ","&request("recordNum") &",")) > 0 then
<img src="yellow.gif">
else
<img src="red.gif">
end if
I installed VS.NET 2005 on my windowsXp mechine successfully but when i try to installed MICROSOFT SQL SERVER 2005, setup windows saying
"SQL Server 2005 Setup has detected incompatible components from beta versions of Visual Studio, .NET Framework, or SQL Server 2005. Use Add or Remove Programs to remove these components, and then run SQL Server 2005 Setup again. For detailed instructions on uninstalling SQL Server 2005, see the SQL Server 2005 Readme"
So i first ran SQL Server 2005 cleanup Wizard to uninstall previous versions and tried to install SQL 2005 again but i got same error .i checked add/remove programm list but i didnt find any components of beta version.Where do these files be stored and hw do i recognize them.
plz help me.
Any solution for calling stored procedure in ASP page !!
also, i want to know that, i am passing a parameter which has size 8000 , but in SP syntax there is predefined constant advarhar,adlongvarchar which has size around 200. thats y my calling procedure throws an error. how to deal with this ??