Session variables themselves cannot be passed along; however, the data they store can be arbitrarily passed on. Two alternate ways to accomplish what you are trying to do is to:
(1) Save the list of cart items to a database table with a unique ID. The link to view the cart could then contain a querystring variable to passes the unique ID to a script which can query the database table for its relevant items;
or (2) all...
User Profile
Collapse
-
-
A cleaner, more dynamic solution.
When the button is clicked, all checkboxes within the parent element passed into the function are disabled. Doesn't rely on static IDs are specific number of checkboxes.
Code:<!doctype html> <html> <head> <script type="text/javascript"> function DisableAll(elementID){ var _container = document.getElementById(elementID);
Leave a comment:
-
Get rid of the "On Error Resume Next" and rerun the script. If you have an error, it should display.Leave a comment:
-
Does your web server have MIME types mapped to those file extensions?Leave a comment:
-
In that case, you need to add an argument to your function defintion.
So, instead of this:
Code:function addRowToTable(){ var tbl = document.getElementById('Division'); ... rest of the function ... }
Code:function addRowToTable(whichTable){ var tbl = document.getElementById(whichTable); ... rest of the function ... }
Leave a comment:
-
Unless you plan to target those new elements, you do not need to apply IDs. If I have misunderstood your needs, please define them more explicitly.Leave a comment:
-
Mouseout parent element
I am using jQuery to create a mouseout event on an element that contains many children.
Code:<!-- simplified HTML --> <div id="wrapper"> <div id="child-1">... some content...</div> <div id="child-2">... some content...</div> </div>
Code:// simplified JavaScript $("#wrapper").mouseout(function(){
-
What is the value passed to the server through that form parameter? Response.Write( ) it to the screen and post it.Leave a comment:
-
Do not type cast the variables. You have already made them strings by wrapping them in quotation marks.
Your SQL statement will also fail because you must wrap any string variable in single quotes and any numeric variables must not be within quotes. Check your code for this.Leave a comment:
-
-
I suspect its a server configuration. Please ask that question on the Windows Forum, as it does not apply to this programming forum.Leave a comment:
-
I'm not sure I understand your question. What about it? If all external traffic from the web server exits your intranet through the proxy, then why would you need to explicitly state the proxy address?Leave a comment:
-
Use the XMLHTTP object.
Code:set obj = server.createObject("msxml2.serverxmlhttp") [B]obj.setProxyCredentials "username", "password"[/B] obj.open "GET", "URL", false obj.send "" response.write obj.responseText
Leave a comment:
-
Local Server Routes Email Incorrectly
I have a web site on a web hosting company's Windows server. The same server also handles my "@nicodemas.com " email and DNS. I have changed my MX records away from their service and use Google Mail, but there is a problem:
I have another email domain, "@nicodemas.me" , hosted on their server, and I have set up an email alias under that domain which redirects mail to the "@nicodemas.com " address. Any... -
jQuery - $.ajax() XMLHttpRequest.ResponseText Property Inaccessible
I am working with jQuery v1.6. My question is: why does the responseText property returning undefined?
Code:var AjaxResult = jQuery.ajax({ ... }); console.log(AjaxResult); // logs "Object {readyState=1, ...}" // So I know that the object is being returned. console.log(AjaxResult.responseText); // This line outputs "undefined" to the console.
-
Help With Query to Get Totals Sorted by Month & Year
I am trying to figure out a query. I believe it is possible, but my SQL knowledge has been waning in the past year due to disuse. Anyone wish to help?
I have three tables.
Table: Fruits
Code:FruitID | FruitName ----------------------- 1 Orange 2 Bananas
Table: Customers
Code:CustomerID | CustomerName ----------------------------
-
Empty basically means it has no value assigned to it. The question to ask yourself is, why is PriceBrand1 Empty? Also, according to standard SQL, integer data type fields' values should not be enclosed in apostrophes. So, yes, remove the apostrophes from around your integer fields' values.Leave a comment:
-
The Jet drivers were not too many hops from that same link I sent you. Perhaps try downloading those.
If that doesn't work, are you able to use a File DSN? At present you are using DSN-less.Leave a comment:
-
What do you mean by not working? I ask, what is it you are trying to do or get that isn't working?Leave a comment:
No activity results to display
Show More
Leave a comment: