We have links on our website that point directly to Excel spreadsheet files on our server. When the user clicks a link, It will display a dialog, asking if the user wants to Open or Save the...
I see this has been asked but not answered 2 years ago. I have scoured the web and have realized that this can be done. My client is focused solely on Firefox and IE. I have gathered code to...
Sorry, but if you don't understand the basics of scoping, you should find a good tutorial...One that I just found is at http://www.mredkj.com/tutorials/reference_js_intro_ex.html.
Well, someone else may need to answer the part about the php tags, but I'm assuming that the code at that link is HTML and any time you use PHP in the HTML you need to wrap in within <?php> <?> tags,...
First, if you want to call the function AFTER the user enters a value, you need to use onblur instead of onfocus, which fires when the control GAINS the focus.
Also, you are setting the display element incorrectly in the onchange handler and using double-quotes while setting the display instead of single-quotes. Take a look at WolfShade's initial response.