I am writing a small data entry screen that will post the form data to a page and return a message. But i cannot get the Success or Error functions working properly.
Here's the code where strData is the posted querystring of:
I'm not sure whether it should be in a form and using the onsubmit or click of a button.
I know it's messy and all to send data this way, but it's what was decided on, so here's what I need to do with it. I want to take all the info from the query string and post it into the corresponding form fields in the document. So I need to somehow isolate the query string (maybe a global JS variable? maybe another method?) and then I was thinking it would work to somehow pull each piece of information delimited with &= and put them into a simple array (split() method?). Once I have the info pulled from the URL into an array, I thought I could simply update the field's value attribute with basic javascript like this:
form1.SubscriberID.value=1523;
Then, all the values would be automatically loaded into the correct form fields. But, since I'm a js newbie, I really dont know how to go about this. Ideas? Examples? Remember I'm new, so explaining every process might be in order.
I'm having users fill out a form where there are multiple rows of data.
Some of the rows can have duplicate data for some fields.
So say on line 1) i have first name, last name as an input fields and some other fields as well, c, d, e, etc.
When the user gets to line 2) if they want to have the same first name and last name as line 2, can I have them check a box and it will automatically populate these fields with the info they just typed in line 1? I can't figure out how to do this.
I am attempting to develop a completely web-based set of tools that can match the functionality of a set of Tcl/Tk programs that are used in our control system environment. I believe that I can do everything that the Tcl/Tk tools are doing except this one thing:
The Tcl/Tk app allows the user to pick two points on their screen (which defines a rectangle) and then automatically grabs that potion of the screen as an image and embeds it into the Tcl/Tk app as an object which is then uploaded to a database when the user has submitted the Tcl/Tk form.
I would like to have a web-page with a form that allows file-uploads (this I can do), but I would like the page to include an embedded Java applet (presumably) that allows the web-client to capture a portion of the screen and automatically attach it to the html form which can then be uploaded to a database when the client submits the form.
An important requirement of this project is that it not require the user to install anything prior to visiting the web-page. The applet (or whatever) can be installed but not a separate program. I really want this entire function to be provided from the web-page. I can provide more information if necessary, but I though that a broad statement of the problem would allow more people to chime-in with their thoughts. I am eager to find out how this might be possible.
I am attempting to develop a completely web-based set of tools that can
match the functionality of a set of Tcl/Tk programs that are used in our control system environment. I believe that I can do everything that
the Tcl/Tk tools are doing except this one thing:
The Tcl/Tk app allows the user to pick two points on their screen (which defines a rectangle) and then automatically grabs that potion of
the screen as an image and embeds it into the Tcl/Tk app as an object which is then uploaded to a database when the user has submitted the Tcl/Tk form.
I would like to have a web-page with a form that allows file-uploads (this I can do), but I would like the page to include an embedded Java applet (presumably) that allows the web-client to capture a portion of the screen and automatically attach it to the html form which can then be uploaded to a database when the client submits the form.
An important requirement of this project is that it not require the user to install anything prior to visiting the web-page. The applet (or
whatever) can be installed but not a separate program. I really want this entire function to be provided from the web-page. I can provide more information if necessary, but I though that a broad statement of the problem would allow more people to chime-in with their thoughts. I am eager to find out how this might be possible.
Is it possible to make screen capture in java script ? I want to have button in my webpage when i click the webpage the current page will store in client machine .
I am trying to write a script which will allow me to read the contents of an HTTP web page into memory, parse the data, and output a calculated value.
The HTTP page is on a web enable appliance - I am reading some data out of a table for further calculation. I can't modify the web appliance, only read the text data.
I've written a script on my Windoze PC that successful uses a MSXML2 ActiveX object to read the contents of a web page into memory using the xmlhttp.responseText object. The problem is that the ActiveX object is not available on a lightweight Linux based http server.
I need to write a script that will work with ASP/Javascript on a lightweight Linux based http server.
I have a credit card donation page and what I wanted to do is after they click the submit button and transaction is successfult I wanted to capture the donation amount they enter from the donation page and show it to the next page.
I have 2 textboxes (textbox1 and textbox2) and one hidden field (hidden). I want the value of the hidden field to be both values of textbox1 and textbox2 separated with "-".
Please visit the following page if you want to see the page I am working with. The flower images at the bottom, when clicked, will display the src of that image when clicked in the textbox. However, I want to apply the same function to the manipulated images too, in order to get their data URL's. Currently, the images at the bottom have the following:
Code: <img src="images/nem.png" onclick="clicked(this)" /> How would I go about adding the onclick to the following javascript generated images?
Code: var dragon = new Image(); dragon.src = "images/flower2.png"; var dragon2 = new Image(); dragon2.src = "images/oldtraff2.png"; var dragon3 = new Image(); dragon3.src = "images/trees2.png"; var dragon4 = new Image(); dragon4.src = "images/f12.png"; var dragon5 = new Image(); dragon5.src = "images/nem2.png"; var dragon6 = new Image(); dragon6.src = "images/nl2.png"; var dragon7 = new Image(); dragon7.src = "images/dino2.png"; var dragon8 = new Image(); dragon8.src = "images/ipad2.png"; var dragon9 = new Image(); dragon9.src = "images/tokyo2.png"; var dragon10 = new Image(); dragon10.src = "images/pup2.png";
how to copy an input field to an input field using a check box, what I want to do is copy data from an ID that has been populated with data using ajax and then select which data I want to copy depending on the drop down option selected. I can get the drop down box to alert the same data back that I want to copy but I can't display that data inside the input field.
step by step:
1. search for data with ajax and populate ID with data
2. use drop down box to select data to copy and copy it to input field
Tutorial I read
HTML CODE
This is the ID that already has data retrieved using ajax.
Visit [url]. I want to to save 32 stations grid in exactly the same format or better yet be able to somehow copy it in excel w/out going into the source and manually editing it. How is this possible?
I have been trying to find a simple way to capture the page title for a form that will be used throughout my site.Basically, creating a javascript function to allow a user to email a page to a colleague. Of course I only want to have one form, so I wanted to capture the referrering page information.I have had no trouble capturing the referring URL using javascript, associating it with a form field and passing it through PHP validation and emailing it.I am having trouble doing the same for the title. I have tried to capture these with an onLoad event, but that didn't work (for title only - works for others).
Here's the js which is referenced on the html pages (link to external file):
// JavaScript Document function start() { var ref = document.getElementById('httpref');
I have a web server built in to our Student Data system. I want to put a teacher survey form out there but can't modify the DB and have no cgi ... darn proprietary web server.
Can I use JS to save form values to a separate text file? So far the best I can do is appendData() into the current html.
I have little experience with php & javascript hybrid pages. A friend has a webform php page that has the html form code at the bottom. The form works well but I want to take the first input text field and have it displayed in a <div> on the page the form is directed to. I have tried a few things but can't get it to work.
I am having serious problems over a JavaScript function. I have 2 x 2 dimensional arrays of data to display on the screen, each array being 18 x 18. The arrays and displaying them is working fine, I have 2 lots of X and Y variable (LocX1, LocY1, LocX2 and LocY2) which I use to reference the cells of the arrays.
I have 2 similar (but not identical) functions to move around these arrays using links on the screen.
[Code]...
As you can see, I have tried multiplying the variable by 1, adding zero and using the Number command. All other directions work fine and all links are identical, just passing a different 'direction' through an onClick.
P.s. I miss placed this post before, and it was sugested I re-check the links that set the functions off. They are all identical (all 8), except for the 'north' 'south' etc. bit.
I have a PHP form with a html section at the bottom. There are 14 input text fields on the form and I want the form to send of the email as it should do and also take the name field, pass it to the following web page and display it in a <div> tag.
I think the relevant code looks like this
HTML section
Can I capture the input from FieldData0 and send it to the next webpage by Javascript or as a cookie? Or to have then confirm their name in a second form and automatically capture it before the submit button.
I've done a fair amount of PHP development, but am new to Jquery. What I'd like to do is develop a tablet web app that uses custom image buttons for numeric-only data entry to populate form text boxes. Basically, when an image button (0 - 9) is tapped by the user, then the text box having the focus gets that corresponding digit added. There will also be a "back" button to erase, and a "send" button to process the form. It looks like this should be possible to do using Jquery or Jquery UI, but again I'm a newbie with Jquery and am not sure how to proceed.
there is a selection of menus on the screen that you can change select different options to show you a price.
issue is as follows; i want to be able to create url's for every product in the database for google adword purposes; for example if they click on the google ad they come direct to the page/selection from the table/drop downs that is what they want. currently we have got as far as creating the below link;
[URL]
this link will take you to the product, but the drop downs from the menus haven't changed, just the price and the quantity.
i need to know of a way of selecting from the database and it be able to change the drop downs from a specific url.
our problem is we need to populate a select option in order of the one we send.
I need to capture the click event, edit form action then re-submit the form with the captured input value appended to the end of the action. I would like the end url action to be google.com/tada
I need to capture input from a form in the run time and send those values as URL parameters using HTML POST.
I am using:
Here searchText and searchFilter are the input values. When I run the app, I don't see the values but I see "frm.searchText.value" and "frm.searchFilter.value" getting passed as parameters.
I have a web form with several fields. If I copy & paste from a RTF document into a field, the javascript validation and field length are bypassed and cause the form to fail.