Hi All,
I call this line of code on onKeyUp from a text box:-
myInput.value = myInput.value.replace(/\D*|./g, "")
The code works as I want it too, it removes any non numeric characters that have been entered.
Can someone let me know how I can adjust this line so that it removes non numeric...
Hi all,
I have a strange problem that I can't figure out.
I've opened a pop-up window which has 1 textbox:-
<input name="hPART_QTY" type="text" id="hPART_QTY" tabindex="01" onKeyUp="checkcr();" size="04" maxlength="04">
onKeyUp some javascript is called
function addParent()
{...
Hi All,
I have a problem with this page that is using a frameset. When the 2 frames load, onLoad in both frames calls a function which then displays a runtime error. The error doesn't appear everytime the page loads, it's very random, so i'm hoping someone can help.
In both the frames onLoad i'm...
Hi all,
I wonder if anyone can help me or has done anything like this before.
We have a system but users seem to copy the url then email it to someone else, who can then view data they're not suppose to see.
We are trying to find a quick and easy solution to stop this happening.
We really only...
Hi All,
I have a problem with window.onunload.
I have put the 'window.onunload' in our global javascript file and there is also a 'window.onunload' on the page. The problem is that it will perform the function from the page but not the function in the global javascript.
When I remove the...
Hi all,
I'm new with cookies but i'll explain what i'm trying to do and if possible can someone point me to a thread thats already covered this topic.
I have the code to create, delete and read a cookie, but what I want to do is be able to write information to the cookie. I'll be writing the...
Hi all,
I have a problem with my page I can't solve.
Basically I have a text box and 'onKeyUp' I perform a function which checks 'if(window.event.keyCode == 13)' if it does it performs the funtion below.
function funcFind()
{
checkForSpaces(document.form1.FIND.value)
if(fieldHasSpaces == "Y")...
Hi,
A quick question. When I fade an image in fireworks, the image looks nice and smooth. Then when I view it in internet explorer you can see lines as the colours blend into the image. Is there a reason for this? Also is it possible to set the image in internet explorer exactly the same as it...
Hi all,
We have a web system which all users use IE.
What i'm trying to do is if a user is in the system to remove the address bar. I'm thinking this will have to go in the global css, but how is it done?
Any ideas?
Thanks Stewart.
Hi all,
Can anyone tell me if it's possible to change the appearance of a confirm box? Like change the colour of the buttons and backgound.
Thanks
Stewart
Hello all.
I'm trying to get headers to print on each page, this is what I have so far.
Below is the 'table' which will be the header on each page.
Is this correct?
<table cellpadding="0" cellspacing="0" width="100%" class="nestedTable" id="TERRITORY_ROW">
<thead...
Hi all,
Is it possible to know whether a field has focus?
Basically what i'm doing at the moment, I have an 'onDblClick' on the form tag which calls a function.
When I double click on any text field on the form the function is called (this works). Now what i'm doing is looping through all the...
Hi all,
Having a small problem which I hope is possible.
Basically i've inserted a row and cells at the end of my table.
var a=window.document.getElementById('topTable').insertRow(vRowsLength);
var b=a.insertCell(0);
var c=a.insertCell(1);
var d=a.insertCell(2);
var e=a.insertCell(3);
var...
Hi,
I'm not sure if this is possible. Basically there are 2 tables on the left of the screen and the right. When the user clicks one of the tasks in the left table at the moment the page is submitted and refreshed which takes a second or so but that task is then added to the right table. What...
Hi,
I have a <tr> on my page which is in a 'rows' tag and being loaded depending on how many records are on a file. So there could be many <tr> down the page.
The user can the select a value within 1 of the <td>'s within the <tr> which opens a mini window which they then enter a new value for...
Hi,
In the company I work for we use cgi to link cobol with the web.
We have occured a memory problem every now and then where we seem to have no memory and this occurs when reading in fields from the web to our cobol programs.
Is there a limit to the number of fields or the size of the fields...
I have several text fields, all are decimal numbers. Each decimal field is of different format e.g can be 123.45, 1234.56, 12345.67 etc.
Is there a way that I can pass the value of the field and the format (4,2 for example) and do a regular expression to check that the value matches the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.