| Greasemonkey: access the value of a <INPUT> element? |
|
 |
Index ‹ javascript
|
- Previous
- 1
- Regular Expression: match up to first colon in lineMy code is too greedy, how can it be fixed?
Here is my code:
Desired output - First:,Second:,Third:
<br>
<script type="text/javascript">
var regEx = /[^<>]*?:/g;
var html = "<br>First:ratio<br />Second: 2:3<br>Third: size";
var output = html.match(regEx);
document.write(output);
</script>
Thanks for your help.
Dave
- 5
- problem with ajax call only working on http://www.domain.com not http://domain.comI am having a newbie problem with the Prototype library where calls
aren't working without the www in front of the second level domain. I'm
included the code as it works fine on www.domain.com just not
domain.com:
<html>
<head>
<style>
#placeholder{
border: 1px solid black;
width: 600;
//margin: 10 0 0 200;
//padding: 10 0 20 30;
}
</style>
<script src="JS/prototype.js" type="text/javascript"></script>
</head>
<body>
<script>
function getInfo(){
var url='http://www.domain.com/preview/Data/';
var pars = 'action=loc';
var myAjax = new Ajax.Updater( 'placeholder', url, { method: 'get',
parameters: pars });
}
</script>
<input type=button value=GetHtml onclick="getInfo()">
<div id="placeholder"></div>
</body>
- 5
- Custom functionHello
I have created a function.
function unHide (fieldname)
{
... not important...
document.form1.fieldname.style.visibility = 'visible';
}
I have a field name called country in a form.
When the onclick="unHide('country')" is used then the above function
does not work
but if i change the following line within the function
document.form1.country.style.visibility = 'visible'; then it works.
What am i doing wrong.
Newbie so please keep it simple.
Regards
Bundy
- 6
- Mixing secured (HTTPS) and non-secured (HTTP) content in the same pageHi,
Is it possible to have secured (SSL/HTTPS) and non-secured (HTTP)
content in the same page without breaking the security? I am developing
a secured reservation system in which the user can access Google Maps
(not secured). The map is embedded in the page and does not open in a
separate window.
What solution do you recommend? Use iframes? If so, how?
Thank you,
Daniel
- 8
- Desperate, need javascript to covert a number to a color.
I'm going insane!!!!!
I set a font color using documentDOTexecuteCommand("ForeColor").
That works, but now I'm trying to read the color in another method. I
used documentDOTqueryCommandValue("ForeColor"). This method just
returns a number, and I can't figure out what the numbers are. I know
they have something to do with a color, but without knowing what they
are, it's hard to find help on how to convert them to something I can
use (hex, rgb). Here are two examples:
(Green returns 32768, Blue returns 16711689)
So, does anybody a)know what these numbers are? b)know how to convert
them to something more useful, or c)know how to generate these numbers
from a System.Drawing.Color in c#?
NOTE: DOT is due to the "no code" error on devdex. I didn't think I'd
get away with the real dots. Thank you in advance for your help!
Big Dave
*** Sent via Developersdex http://www.developersdex.com ***
- 8
- Cents to dollars program errorI need help on this program, it have to convert cents to dollars when
you enter #of cents. Thanks please anybody can help. Thanks.
- 8
- Need help understanding a "persistent mousedown." Now with JavaScript.It never dawned on me to at least provide a crude (as crude is as good as it gets)
JavaScript example.
var mouseIsDown = true;
function start_md()
{
while (mouseIsDown == true)
{
document.getElementById('filler').innerHTML += ' text ';
}
}
function stop_md()
{
mouseIsDown = false;
}
window.onload = function()
{
document.onmousedown = start_md;
document.onmouseup = stop_md;
}
<p id="filler"></p>
This of course has major flaws. The greatest of which is that the while takes off
considerably faster than what Firefox seems to like. Finally, after a few to many seconds
later it appears to work. So this "chaotic" behavior is unsuitable and undesirable.
Any ideas?
-Lost
- 8
- Javascript,SVG and OperaHi,
I have a simple question. How do you get Opera to work with SVG and
Javascript? Can someone point me to a site where the two work together?
Many thanks
Alain
- 8
- Problem with object references when using bound event handlersHi.
THE QUESTION: How do I get a reference to my Object when processing an
event handler bound to an html element ?
CONTEXT:
Sorry if it is a bit long.
I am developing a JS calendar tool. One of the requirements is that the
calendar will need to display a varying number of months (1..3)
depending on the calling page. Imagine 1, 2 or 3 calendar pages side by
side as required.
I have built a grid object that will contain one month's dates with the
day names at the top. The calendar object inherits the grid object as an
array of "calendar pages" - one grid per month and the calendar provides
the content for each grid. I will use the grid object for another
completely different object later and so I want to use good OOP
encapsulation. The grid is a table generated on the fly and is "dumb" as
far as what it is used for.
I have attached an onlick event to each cell of the grid. Using OOP
priciples I want the calling program (the calendar object in this case)
to provide a function to handle the click and the grid object will
provide to the calendar the row and column of that cell as well as the
grid number (so the calendar can work out which date was clicked since
it knows what the data means and the grid doesnt).
The following technique works:
// INITIALISE THE GRID
function Grid(gridNumb) {
this.gridNumb = gridNumb;
this.rows = 6;
this.cols = 7;
this.gridobj = $('grid_'+gridnumb) // a reference to the table that is
the grid
this.onclickHandler = null
}
// ASSIGN THE ONCLICK FUNCTION PASSED IN
Grid.prototype.assignOnclickHandler = function(handler) {
this.onclickHandler = handler;
}
// ADD THAT HANDLER TO EACH CELL
Grid.prototype.addHandlers = function() {
for (r=0; r < this.rows; r++) {
for (c=0; c < this.cols; c++) {
this.gridObj.rows[r].cells[c].onclick = this.onclickHandler
}
}
}
And if I do this on a test page:
var grid = new Array()
grid[0] = new Grid(0)
grid[0].assignOnclickHandler(handleClick)
function handleClick() {
alert(this) // this is a reference to the table cell that was click on
col = this.cellIndex
etc..
}
the handleClick function works and returns the reference to the table
cell that was clicked. All good.
BUT...
what I actually want to do is have the grid object return the row,
column and gridID number to the calling program instead of just a
reference to the table cell that was clicked.
So, I modified the above so that I am using an internal onclick handler
function that will do the necessary work to return the row, column and
gridID to the calling object.
ie
// INITIALISE THE GRID
function Grid(gridNumb) {
this.gridNumb = gridNumb;
this.rows = 6;
this.cols = 7;
this.gridobj = $('grid_'+gridnumb) // a reference to the table that is
the grid
// this.onclickHandler = null <-- removed this
}
/* removed this
// ASSIGN THE ONCLICK FUNCTION PASSED IN
Grid.prototype.assignOnclickHandler = function(handler) {
this.onclickHandler = handler;
}
*/
// ADDED THIS INTERNAL HANDLER:
Grid.prototype.onclickHandler = function() {
alert(this.rows)
// 1. calculate the row, col and gridNumb ...
// 2. return those values ...
}
// ADD THAT HANDLER TO EACH CELL - SAME AS BEFORE
Grid.prototype.addHandlers = function() {
for (r=0; r < this.rows; r++) {
for (c=0; c < this.cols; c++) {
this.gridObj.rows[r].cells[c].onclick = this.onclickHandler
}
}
}
Now, when a cell on the grid is clicked, the new internal onclick
function fires - which is correct.
THE PROBLEM:
The alert(this.rows) in the internal onclick function shows "undefined"
because the "this" refers to the table cell element, not the grid object!
How do I get a reference to the grid object from that point ???
The obvious work-around is to use the external grid var directly but
apart from breaking the encapsulation when I have multiple grids I dont
know which one has been clicked since I cant reference anything about
the grid object itself.
The other solution is to set the id of each td element to contain the
grid number and use getElementById to get the reference, but I was
hoping to find an OOP way of doing it.
Any ideas ?
Thanks,
Murray
- 8
- 9
- onKeyDown, getting rid of keys typedThis is a multi-part message in MIME format.
I'm trying to use the onKeyDown event on a text field. I intersept the
keystroke, interpret it and then do certain actions based on certain
keys stuck. If a special key is stuck I replace the value in the text
field and return false. This seems to say "get rid of the key struck - I
handled it instead" for IE but not for Netscape.
I set up a page, http://defaria.com/test.html to demonstrate this. If
you type any character it is simply inserted. If you type a "t",
however, the field is replaced with the current date. In IE this works
just fine. In Netscape I get the current date followed by the "t"
character! Trying to debug this I inserted an alert into the code. The
strange thing is that with the alert Netscape stops appending the "t"!
This is demonstrated by http://defaria.com/test.html under Netscape
(actually I'm using Firefox). The first box, labelled SetToday1, will
pop up an alert box for any key you type. Again if you type "t" the
current date is inserted and "t" is *not* appended to the date inserted.
The second box, labelled SetToday2, will not pop up an alert box but it
functions similarly in that typing a "t" will insert the current date.
However, SetToday2, without the call to alert, will append a "t" to the
date inserted even though false is being returned. This happens only on
Netscape and not on IE. The question is why?
(To view the source use *View: Source*)
--
When something is "new and improved!". Which is it? If it's new, then
there has never been anything before it. If it's an improvement, then
there must have been something before it.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I'm trying to use the onKeyDown event on a text field. I intersept the
keystroke, interpret it and then do certain actions based on certain
keys stuck. If a special key is stuck I replace the value in the text
field and return false. This seems to say "get rid of the key struck -
I handled it instead" for IE but not for Netscape.<br>
<br>
I set up a page, <a class="moz-txt-link-freetext" href="http://defaria.com/test.html">http://defaria.com/test.html</a> to demonstrate this. If
you type any character it is simply inserted. If you type a "t",
however, the field is replaced with the current date. In IE this works
just fine. In Netscape I get the current date followed by the "t"
character! Trying to debug this I inserted an alert into the code. The
strange thing is that with the alert Netscape stops appending the "t"!
This is demonstrated by <a class="moz-txt-link-freetext" href="http://defaria.com/test.html">http://defaria.com/test.html</a> under Netscape
(actually I'm using Firefox). The first box, labelled SetToday1, will
pop up an alert box for any key you type. Again if you type "t" the
current date is inserted and "t" is <b>not</b> appended to the date
inserted.<br>
<br>
The second box, labelled SetToday2, will not pop up an alert box but it
functions similarly in that typing a "t" will insert the current date.
However, SetToday2, without the call to alert, will append a "t" to the
date inserted even though false is being returned. This happens only on
Netscape and not on IE. The question is why?<br>
<br>
(To view the source use <b>View: Source</b>)<br>
-- <br>
When something is "new and improved!". Which is it? If it's new, then
there has never been anything before it. If it's an improvement, then
there must have been something before it.<br>
</body>
</html>
- 9
- Filling HTML-forms with Media Encoder-info using javascript
Hello gurus!
We are developing an application where we need to communicate with Windows
Media Encoder from a web page.
We need javascript to retrieve time information from the encoder, put the
information in a HTML-form. The information will be transferred to a
database on the webserver via the form.
We also want javascript to start and stop the encoder.
Can anybody help us with this?
Coding examples i.e will be appreciated.
Best regards
Vidar E. Seeberg
- 10
- Date methods from recordsetI use ASP/Javascript. I pull a date from a recordset field like this.
var theDate = new Date()
theDate = rs.Fields.Item("date").value
Now I want to apply the method toLocaleString(). There are 2 things I can
think of
1) change my code to
var theDate = new Date()
theDate = rs.Fields.Item("date").toLocaleString()
But this gives the error that this method is not supported by that object.
2) Add a string variable
var theDate = new Date()
theDate = rs.Fields.Item("date").value
var strDate = theDate.toLocaleString()
Now I get the error message that theDate is null or not an object.
Any ideas?
- 10
- POST newbie questionHi
On this webpage of mine I have some buttons which when pressed should POST
an already known request - say http://mydomain/mypage.jsp?delete=yes. To
make a post like that do I have to make a form with a hidden INPUT named
"delete" containing "yes"? Or is there a simpler way to do it?
-Bo
- 16
- Passing input names to javascript fuction.I have an array for of input names. Input1 , input 2 etc. Can I pass
the input names in a loop like
document.all[input].value="xxxx"
The problem is document.all cannot be used in Safari/firefox, I tried
using document.getElementById but my inputs do have any IDs. is there
any way of accomplishing thsse.?
|
| Author |
Message |
Mara Guida

|
Posted: 2006-6-13 4:13:50 |
Top |
javascript, Greasemonkey: access the value of a <INPUT> element?
Hi,
After I've populated a page with some <INPUT ...> elements I'd like to
have access to whatever is written there.
The best I've done (which does not work) is:
================
// ==UserScript==
// @name AddInput
// @author me
// @description Add an input field and save it with
GM_setValue()
// @namespace http://127.0.0.1/
// @include http://www.wisenut.com/*
// ==/UserScript=
var text_Function = function(evt, elm) {
GM_log(elm.getAttribute('id') + ' ==> ' + elm.getAttribute('value'));
//GM_setValue(elm.getAttribute('id'), elm.getAttribute('value'));
};
var newdiv = document.createElement('div');
newdiv.setAttribute('style', 'background-color:#cccccc;padding:8px');
var lbl = document.createElement('label');
lbl.setAttribute('for', 'inputname');
lbl.innerHTML = 'Name: ';
newdiv.appendChild(lbl);
var elem = document.createElement('input');
elem.setAttribute('id', 'inputname');
elem.setAttribute('type', 'text');
elem.setAttribute('value', 'change me');
elem.addEventListener('blur', function(evt){text_Function(evt,elem);},
true);
newdiv.appendChild(elem);
document.body.appendChild(newdiv);
================
Is there any way to get the name written in the input field instead of
"change me"?
Thank you.
|
| |
|
| |
 |
Erwin Moller

|
Posted: 2006-6-13 16:28:00 |
Top |
javascript >> Greasemonkey: access the value of a <INPUT> element?
Mara Guida wrote:
> Hi,
>
> After I've populated a page with some <INPUT ...> elements I'd like to
> have access to whatever is written there.
>
> The best I've done (which does not work) is:
>
> ================
> // ==UserScript==
> // @name AddInput
> // @author me
> // @description Add an input field and save it with
> GM_setValue()
> // @namespace http://127.0.0.1/
> // @include http://www.wisenut.com/*
> // ==/UserScript=
>
> var text_Function = function(evt, elm) {
> GM_log(elm.getAttribute('id') + ' ==> ' + elm.getAttribute('value'));
> //GM_setValue(elm.getAttribute('id'), elm.getAttribute('value'));
> };
>
> var newdiv = document.createElement('div');
> newdiv.setAttribute('style', 'background-color:#cccccc;padding:8px');
> var lbl = document.createElement('label');
> lbl.setAttribute('for', 'inputname');
> lbl.innerHTML = 'Name: ';
> newdiv.appendChild(lbl);
> var elem = document.createElement('input');
> elem.setAttribute('id', 'inputname');
> elem.setAttribute('type', 'text');
> elem.setAttribute('value', 'change me');
> elem.addEventListener('blur', function(evt){text_Function(evt,elem);},
> true);
> newdiv.appendChild(elem);
> document.body.appendChild(newdiv);
> ================
>
> Is there any way to get the name written in the input field instead of
> "change me"?
>
> Thank you.
Hi,
What about giving the element a name?
Or get it by its ID?
So name it like:
elem.setAttribute('name', 'someName');
document.forms[0].someName.value = "something new";
or
document.getElementById('inputname').value = "something new";
I am unsure if I understand what your script is supposed to do, because as
far as I can see you could just write this part in HTML without
dom-interaction, but maybe my suggestions help.
Regards,
Erwin Moller
|
| |
|
| |
 |
Mara Guida

|
Posted: 2006-6-13 18:21:00 |
Top |
javascript >> Greasemonkey: access the value of a <INPUT> element?
Erwin Moller wrote:
> Mara Guida wrote:
>
> > Hi,
> >
> > After I've populated a page with some <INPUT ...> elements I'd like to
> > have access to whatever is written there.
> >
> > The best I've done (which does not work) is:
> >
> > ================
> > // ==UserScript==
> > // @name AddInput
> > // @author me
> > // @description Add an input field and save it with
> > GM_setValue()
> > // @namespace http://127.0.0.1/
> > // @include http://www.wisenut.com/*
> > // ==/UserScript=
> >
> > var text_Function = function(evt, elm) {
> > GM_log(elm.getAttribute('id') + ' ==> ' + elm.getAttribute('value'));
> > //GM_setValue(elm.getAttribute('id'), elm.getAttribute('value'));
> > };
> >
> > var newdiv = document.createElement('div');
> > newdiv.setAttribute('style', 'background-color:#cccccc;padding:8px');
> > var lbl = document.createElement('label');
> > lbl.setAttribute('for', 'inputname');
> > lbl.innerHTML = 'Name: ';
> > newdiv.appendChild(lbl);
> > var elem = document.createElement('input');
> > elem.setAttribute('id', 'inputname');
> > elem.setAttribute('type', 'text');
> > elem.setAttribute('value', 'change me');
> > elem.addEventListener('blur', function(evt){text_Function(evt,elem);},
> > true);
> > newdiv.appendChild(elem);
> > document.body.appendChild(newdiv);
> > ================
> >
> > Is there any way to get the name written in the input field instead of
> > "change me"?
> >
> > Thank you.
>
> Hi,
>
> What about giving the element a name?
> Or get it by its ID?
>
> So name it like:
> elem.setAttribute('name', 'someName');
> document.forms[0].someName.value = "something new";
>
> or
> document.getElementById('inputname').value = "something new";
>
> I am unsure if I understand what your script is supposed to do, because as
> far as I can see you could just write this part in HTML without
> dom-interaction, but maybe my suggestions help.
>
> Regards,
> Erwin Moller
LOL, sometimes the simplest things give too much work for ignorant
people.
I was only complicating the function every time it didn't work, instead
of simplifying.
Thank you very much.
After reading your reply I tried the simple
GM_log(evt.target.value);
and it worked :)
The purpose of the script is to allow configuration of the script
itself without having to open the "about:config" page.
|
| |
|
| |
 |
| |
 |
Index ‹ javascript |
- Next
- 1
- Putting date and time in input feild of form?!?!Hi all,
Hopefully something simple here.
I have written a form that takes data from a text box and updates it into an
Access database. However, I want to also pass the local user date and time
using date() and time() JavaScript commands, but can't find the right syntax
to put them in the input command, example:
<input name=date value="<javascript command here">
Can anyone help?
Thanks in advance.
Cheers
Shaiboy_UK
- 2
- Problem with form variables in framesHi,
I am using frames (I know that its not a good practice, but I have to).
Each of these frames have separate form variables, all of which are
needed in the parent frame.
Now, the problem is that only one frame in the parent frame has a
submit button. Is there any way in which I can submit the forms of
other frames on click of the submit of this particular frame? I mean,
is there any way in which I can access the forms in JSPs of other
frames?
Thanks.
- 3
- Open Win - Content TypeIs there any way I can change the content type when I open a new window
other than opening a script in the open statement?
mywin =
window.open('','rpt','width=600,height=425,top=50,left=0,scrollbars=yes,toolbar=yes,resizable=yes,dependent=no');
mywin.document.write("Content-type:image/svg+xml");
In this example I would be changing the content type to svg.
I tried this and it did not work.
The window gets opened up as html.
Any help is appreciated.
Mike
- 4
- DOM: Properties set before calling appendChild() are lost after callI'm having a very painful time converting some Mozilla dynamic DOM code to
work with Internet Explore. For example, given this code:
--------------
selectBox=document.createElement("SELECT");
selectBox.name="theSelectBox";
optionOne=document.createElement("OPTION");
optionOne.name="option1";
optionOne.value="one";
optionOne.text="one";
selectBox.appendChild(optionOne);
--------------
This code doesn't work because the option element text property becomes
empty after I execute the appendChild() method. HOWEVER, if I put the
appendChild() call BEFORE I set the "text" property all is well.
This also seems to be the case for several other properties too.
The problem is, a lot of my code was structured around having several child
nodes pre-created, and THEN adding them to the container/parent node. This
worked fine in Mozilla, but because of the above mentioned "quirk", fails
miserably with IE. Annoyingly enough, with IE you HAVE to set the type
before calling appendChild() or IE will throw an error when you try to set
it after the appendChild() call (the type property is write-once only and
apparently calling appendChild() affects the "type" property in some way).
Before I rewrite a whole bunch of code, is there a workaround or a known
technique for dealing with this?
If I am wrong about this, then tell me why I lose the values of certain
properties after I call appendChild()?
Thanks
- 5
- I need help accessing SELECT boxHi, so I can learn how to master, how do I access a select like this
using javascript??
<SELECT name="myselect">
<OPTION value="73822">Green
<OPTION value="38147">Blue
<OPTION value="67289">Purple
<OPTION value="57282">Red
</SELECT>
I want to,
1) change Blue value from '38147' to '38150'
2) change Purple label to Orange
3) change Red value from "57282" to "57300" and also change Red label
to Pink (can be done all on 1 line?)
Can someone help me with these examples? I am doing some more complex
db stuff around it, but this will be helpful to get me rolling.
Thank you! Have a great day -- I appreciate it! :-) :-)
- 6
- Make background clickableHey there,
On my page, i want to make my entire body background clickable without
disturbing my content area in my main div.
I tried putting a clickable div behind it all with a low z-index, but
that solution did not work out ...
Does anyone knows a solution to that?
Best regards,
Kristian
- 7
- DHTML colour pickerHi all
I've created a WYSIWYG HTML browser-based routine so that the following
works:
1) user has a page that they can type text into what is an iframe.
2) user highlights a chunk of this text.
3) user clicks the text colour button, which pops out a new window with a
range of colours on it.
4) user clicks the relevant colour, which closes the popup window and then
changes the text chunk to the appropriate colour.
This all works fine, but I wanted to use a floating dhtml window rather than
a popup. When I tried the floating menu it sort of loses the focus to the
iframe so although the dhtml works as far as it appears you click and item
and it actually gives the right value to the execCommand, the execCommand
just ignores the value.
Has anybody got any experience/ideas on this one?
Thanks
Laphan
- 8
- onkeydown event on document elementI'm trying the following:
function grid() {
this._el = document.createElement("TABLE");
var self = this;
document.addEventListener("onkeydown", function(event)
{self.gridKeyDown(event);}, false);
}
grid.prototype.gridKeyDown = function(event) {
//some code
}
var datagrid = new grid();
the addEventListener doesn't get added, the gridKeyDown method never
gets executed. Can I add onkeydown to the document object? Is there a
good reference about mozilla dom?
- 9
- javascript and internet explorerHi,
I'm having a lot of trouble getting my blog to show up nicely
ininternet explorer. It works very nicely in Firefox, but for some
reason the right column disappears in Internet Explorer.
The url is: http://soundingthetrumpetblog.com
If you go to the second page
(http://soundingthetrumpetblog.com/page/2/) or a cagegory page
(http://soundingthetrumpetblog.com/category/euthanasia/) it shows up
fine in Internet Explorer. However, when I try viewing the main page,
the right column is gone.
I have advertisements and a ticker (both javasript) in the right
column, so I'm wondering if that's causing the trouble. It seems
Internet Explorer specially doesn't like my advertisement for Firefox.
Could you give me some advice?
Thanks a lot.
- 10
- 11
- saving infoi am trying to make a script that allows users to input a name and
then it will appear at the bottom of a list of names that already
exist and will be there forever and more users can add names. i just
cant figure out what simple commands i am forgetting.
- 12
- New Tab in Netscape 7Hi!
Is there a way to get a page to appear in a new tab in the same window in
Netscape 7?
- 13
- Calling java within javascript
Hi,
I know I can call a static java method within javascript by using the
<% ... %> tags. But how can pass a javascript variable ?
function thefunction()
{
var = javascriptvariable ;
<% testClass.set(var) ; %> ;
}
this works when i put a constant in
<% testClass.set("iiiiiiiiii") ; %> ;
Thanks!
- 14
- How do I get HTML sent to server?Hey,
I have a need to get HTML from a client back to a server to do server
processing. I would like the HTML and form data both. Is there a simple way
to capture that? I do not want to submit the page...I will use ajax to send
the data.
I know how to get the elements but not the entire page or form. I am really
just interested in specifying document.form2 and sending that.
Thanks,
Mica
- 15
- window.open affecting parent windowHi!
I'm using window.open to create a secondary window, and everything is
working fine with that. My problem is that as soon as that window is
opened, the parent window scrolls to the top of its page. So when the
user closes the secondary window, they've lost their place in the
parent document.
Is this normal behavior for window.open? Is there a quick way to
prevent it, or is it more likely a problem with my Javascript?
thanks!
|
|
|