Karl, this isn't possible, as it is part of an Administration Interface that I am building. Basicly, an ID number gets generated on a "Thank you" page of a form, this page, along with the ID is pulled into another page using ajax. This second page, uses that ID as a location to create an image. So, I somehow need to pass that ID, which is in a var, into that second form.
Let me know if I can be more descriptive. On May 14, 10:03 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > It'd be easier if you could provide a link to a "live" page. It's a > bit hard to know exactly what you're trying to do. > > Karl Rudd > > On Thu, May 15, 2008 at 2:56 PM, hubbs <[EMAIL PROTECTED]> wrote: > > > I have a variable that is set on another page, and then is brought > > through ajax into another page. On that page, I would like to copy > > that variable into an input field. I thought I had the code correct, > > but for some reason, it is not working. > > > <script type="text/javascript"> > > function setImageLocation() > > { > > var imageLocation = 1234; > > $("#create_image_location").val() = imageLocation; > > } > > </script> > > > Also, is there a way to copy the the value to the input field, right > > when it is brought in through ajax? Or do I HAVE to copy it with an > > event?