Type: Posts; User:
window.event is IE specific. Firefox will use the following syntax evt.keyCode.
You could adapt your code by testingfr this, ie. at the very start of your function write
try using the toFixed(2) method
You're welcome, glad to be of help
Is this what you are looking for (I have just made some modifications to your code)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
will make the background image repeat only vertically if that is what you are trying to do
Problem might be down to you not using a "From" (most servers require the presence of a From parameter in the mail() function in order for it to work properly)
here is an example of a very...
using the command prompt, you might access it using something like the following
C:\xampp\mysql\bin\mysql -u username -h hostname -p
at this point hit return, and you will be prompted...
what browser are you running it in (window.event.srcElement.id is IE specific)
evt.target.id works in other browsers (i.e. W3 compliant browsers)
I used the following code in a drag and...
I'm no expert but for the code you have supplied, it looks like you are not running your query. Before you count your rows you will need to run the query :
Hi, try usng the innerHTML property
first create your output div in the body (i.e. <div id="output"> Leave blank here </div>
Then in your function get create a variable that accesses the...
you will need to "submit" the information (i.e. using <input type="submit" etc.../> button) and then in the form tag use an onsubmit event handler to run the validation functions.
I have just run your code replacing console.log with document.write to display the results on the screen and your code works fine for me. (i.e. it displays the reults of each individual roll and the...
When I have had IE CSS problems in the past, I have used conditional comments to set specific style rules for IE
try clear: both on the image. eg:
Thank you so much. This has cleared it up for me. Thanks agian!
Hi! Thanks your you help. full script is as follows:
Have you tried using the innerHTML property to display your output in the <div>?
i.e rather than <div>$<script>document.write(mytext); </script> </div> just use a <div> with an id (<div...
Ok this may be a bit basic, but I am trying to understand variable scope.
if I declare a variable outside of a function, it will have global scope. The variable should then be available...
Thanks that is a great help.
I am in the process of learning PHP and would like help with the following:
I have a contact form. If the user enters an invalid e-mail address, I have used a filter to display a message (a...
Thanks for your help. This has worked.
I have a page ("treatments.htm") which calls calls various functions when buttons are pressed.
For instance, when the page loads, using the innerHTML property the funtion "treatmentsIntro()"...
Now works like a dream,
Thank you, thank you thank you!
I set the cookie as follows:
<input type="button"value="Get Cookie"onClick="setCookie('ClientUserName',this.form.txtFirstName.value,'','')"/>
in the target page i call the cookies with:
Hi Logic Ali,
I have tried what you suggest, but still cannot get it to work. Here is the script: