I want to pass 2 auguments to this command like below, but the red line of following java script (server side) doesn't work, which means it doesn't took siteid and whosent vaule.
I'm trying to add a variable to the url that is going to be sent but when it is sent my additions are removed! I've tried numberous variations of action="caldelete.asp?curid="<%=iRecord%> and every time it removes everything! What am I doing wrong? Code:
I need to pass a variable in a URL to set up a dynamic page where the content shown is based on the recordet queried on the value passed in the URL.So when the user pulls down a menu list and clicks on Todler Clothes, I need it to go to URL store.asp and pass the choice of Tolder clothes in the URL variable.
Then I need to have my recordset query (WA Querry Builder) use that variable to pull the correct items from the db.How do I add the variable to the URL and what is the ASP statement to get it.
If an affiliate sends a visitor to my site I want to be able to carry that 'partner' variable throughout my pages and eventually onto the registration page so that they may get credit for the member registration.
I am not a coder and can't find an easy way to do this could someone help. I am an expert interpreter and rearranged but not a writer of the code.
BG INFO: asp.net AFF URL FORMAT: www.mysite.com/index.html?partner=20051111987623
I have a session variable session("loginid) which can be passed from A.asp to B.asp. Then In B.asp I have a hyperlink to C.asp e.g. < A href..C.asp>. The session variable cannot be passed to C.asp. The session variable is empty. What can I do to debug this problem?
I'm trying to pass a session variable "session("sibvar") to a hidden form field on an HTML page from an ASP page. In the 'value' paramter of the hidden field I cannot therefore put <% =session("sibvar") %> as this is ASP, I am however allowed to use Javascript in the hidden field, is there some way of doing this.
Is there any way to pass a variable back through a for next loop? Right now the variable resets to nothing after each pass. I need to assign the resetting variable the previous value + 1.
i want to upload my file from the first form and then keep passing the destination path (obtained from File.Path) as a hidden variable to all other forms. and in the end to upload it... how can i do this?
I am simply trying to pass a variable to another page. I know my second page can do Request("str") to retrieve that variable, but how do I pass it in the first place?
I tried Server.Execute("P2.asp?str="hello") but I get errors. I tried Response.Redirect("P2.asp?str="hello") but the variable is empty
I tried setting variables like you would in VB:
str="hello" Server.Execute("P2.asp")
and hoping the second page would pick it up, but I don't know how to make that str variable global.
I am not using forms, I am not using cookies, I was told not to use Session or Application variables, it's a variable being passed just the first time a page is accessed, after that links will send the variables.
I'm trying to pass the wildcard variable % to another page via request.querystring.
When I go to pick up the variable through request.querystring, it will never diplay the "%" if one is included. It will diplay any other characters included in the variable though.
Want to trim, replace etc... a variable then pass it to the javascript, how can I do this? I can not put the javascript outside the loop without splitting it to put the onfocus part seperatly which I don't fancy doing.
Any ideas how to get it to to the ASP then JS? I would have though it would do it that way but there we are. Code:
I would like to pass the value %%LAST_NAME%% to another asp document.... I wanted to pass this value by doing a response.redirect, but, it truncates the double percentage signs
I know it works on a SUBMIT example: <form> <input type=text name="lname" value="%%LAST_NAME%%"> </form>
but, I would like to skip the submit and do a response.redirect... even if I create a variable using 'server.urlencode' it still truncates the %% example: response.redirect "newfile.asp?lname=%%LAST_NAME%%"
I'm trying to add a variable to the url that is going to be sent but when it is sent my additions are removed! I've tried numberous variations of action="caldelete.asp?curid=<%=iRecord%>" and every time it removes everything! What am I doing wrong? Code:
The code above passes the value of the "TimberSpecies" to the next page. I would also like to pass the value of the "CategoryTitle" to the next page at the same time.
How can i pass value from drop down list in 1 page to another pagei used onsubmit when i click the value in the drop down list and use request in another page to get the data.but why it still cannot works
I’ve used java script in my asp page for the new windows utility and also for link to .js extension (get calendar). Ok let see what I’ve done…. Within elseif : (see asp comment within coding page).
IM – date – open IM – date – close IM – date – all
What is a problem now, I try to test for calendar function (java script) in “– IM – date – all “.
I can retrieve date from javascript file -> ‘date-picker.js’ and insert date into these two textbox, but when I want to send/pass these two values (click button continue) to next asp page called byDateIMA.asp, browser told me that ‘error on page’. I’ve no idea about this problem. Hope anyone can help to solve this problem.
I have a simple form with a textbox, a combobox and a submit button. I want to also be able to pass the "values" of the textbox and the combobox in the URL. How do I do that? DO I need to set that up in the function? I know this must be simple becuase I can not find any information on how to do it.