User Profile
Collapse
-
How is the user associated with the server session, cookie or URL? Assuming a login is required, what happens when a user tries to access a page that requires a valid login? Are they redirected to the homepage or a login page? -
Do you mean on changing the option of a select list? If so, have a look at
http://www.w3schools.com/jsref/jsref_onchange.asp...Leave a comment:
-
Yep. A way to do it, on clicking the button use JavaScript to modify the styling of the page.Leave a comment:
-
Not back to the same page without either using JavaScript or turning the page into a script.
If you put refresh in a meta element into the HTML back to the same HTML page then every 2 minutes it'll be refreshed.
Using either JavaScript or turning the page into a script. Pass a name value pair on the query string or a cookie (but remember some people may have turned cookies off or only accept from certain sites). If...Leave a comment:
-
Try something like this.
[CODE=javascript]
<html>
<head>
<script type="text/javascript">
var urlCount = 0;
function getURL
{
var theURL = "http://sample.sample.o rg/sample/moderate/0000000";
urlCount += 1;
theURL += urlCount;
alert(theURL);
}
</script>
</head>...Leave a comment:
-
Leave a comment:
-
You mean something like the code snippet in post #2 above?...Leave a comment:
-
Good news, there's nothing wrong with what you've done and both browsers are working as expected. Bad news, IE is doing exactly what is says on the tin and isn't overlapping the select properly.
Two alternatives you could try. Firstly (using JavaScript), on displaying the calendar, take the select out of the document and replace with an ordinary text box (making sure the user can't do anything with it). On closing the calendar recreate...Leave a comment:
-
OK. Bearing in mind JavaScripts limitations with object-orientation. As I understand it, att_effect and att_wrapcolour should both be properties of the object selectedproduct, update(), updateCropping( ), updateZoom() are methods of the object selectedproduct. On clicking a link/button they should both be updated using the code as you've described in enableGreyscale () and enableTaupe().
You mention hidden fields on the form, what are...Leave a comment:
-
Yes at line 7 userCode:request.form("search")
Yep. Basically that's what you want.
No, just have one open and close SQL connection. Simplest is to put the open as one of the first things in your script and close as one of the last....Leave a comment:
-
Doesn'tCode:document.location.href = "abc.php?foo=test2"
Leave a comment:
-
Try this, changing the content type of what the script delivers to the browser from the usual text/html to text/csv and to expect an attachment
Code:response.ContentType = "text/csv" response.AddHeader "Content-Disposition", "attachment;filename=""list.csv""" reponse.write("a,b,c" & vbCrLF & "1,2,3")
Leave a comment:
-
The update method of selectedproduct
Code:function enableGreyscale() { selectedproduct.att_effect = "BW"; selectedproduct.update(); draw(); }
Leave a comment:
-
At line 7 your expecting the search from the query string
Code:strSearch = Request.QueryString("search")
Code:strSearch = Request.Form("search")
Leave a comment:
-
-
Have you done a view source to look at the resulting HTML from your script and tried it as a HTML page, since is a JS error and not a PHP one? Its possible you may have missed a space between the word checked and the name if the input field.Leave a comment:
-
-
Yep, there is a limitation to a URL length. "Traditiona lly" is was 255, but some browsers allow longer URL's, off the top of my head, IE about 2080, Opera about 4000, FF not sure, Googling will give you the exact numbers. But, there could also be a restriction at the server end....Leave a comment:
-
Would att_effect also look like att_effect_6576 57657657? Where is the order number stored and is it available to the update() function?...Leave a comment:
-
So you're trying to create a link like
thepage.html?na me1=value1&name 2=value2&name3= value3.......
There aren't any +'s or &'s, for example, in the name/value pairs? Have you escaped the values?
Possibly, for the checkboxes try a comma separated list?...Leave a comment:
No activity results to display
Show More
Leave a comment: