I have a listbox which has some items in it and a button. I select some items and click the button. They are displayed in a table. I want these items to be displayed in the table to be unique...i.e. if I reselect those same items they should not be displayed in the table and may be give some error message.
I've been given the task of building a carbon offset calculator: rolleyes:
What I need to do is have a webpage on a touchscreen kiosk that allows a visitor to the client enter their name/company/email address, plus select how they travelled to the premises and their departing post code.
When they submit the form, I need it to email the details to the client so they can produce a nice little certificate saying how many trees have been planted to offset the visitors journey - but I also need it to display the details on screen before resetting itself for the next Prius driving visitor to use.
I've got to the stage where I can EITHER capture all the details needed and email them OR capture all the details needed and calculate the distance travelled, KGs of CO2 expended and how many trees are needed and display them. I'm having difficulty getting it to do both!
I'm trying to display information submitted by a form using javascript. I have this code but it only works for the first question and it doesnt work on click (it works when you select the arial button). I want my users to be able to select a button from every question and then press submit and the infomation will display what they have selected if that makes sense?
I have set up a page which when I click the button BlockUI does what is supposed to do as well as jquery Form plugin; however, the success and failure messages are displaying in the blockUI. What I would like is for the success and error messages to replace the form. The code I am using:
Right I have google maps connected to a database which holds stockists and their information. The user enters their postcode and radius and markers are put on the map of stockists in the radius of their postcode. I have this all working fine and the database chucks the information into an xml file fine. The problem im having is displaying the information in the pop up window of the marker.
Example Xml:
The only information displayed in the sidebar entry is the name and distance and on the marker just the name.
I have a long list consisting of a name and associated number, like this:
SITE01 2111 SITE02 4567 SITE03 5555 and so on.
I would like to put two dropdown boxes where the user can select either the name or the number. Then based upon the users selection have both the name and number appear. I'm thinking of putting all the data in an array and using the dropdowns to query the array.
What I'm trying to do is display whatever is typed within an input field simultaneously inside of a <p> tag.
For Example:
If the name Mark is typed into the input field, i would want "Mark" displayed somewhere else on the page inside of a <p> tag and the letters are typed in the input field it displays each etter as its being typed.. is this possible?
I am using Jquery and the tablesorter plugin to sort a table of information. Within the table i have a column of checkboxes. A user can check the boxes and press the submit button which will $_POST the checked boxes onto the next page. Everything works if i dont sort the table, but if i sort the table and then check a few boxes the $_POST array is empty.
I have a HTML form containing two text box controls in it and a submit button. When a user enters information in those two textboxes and click on submit, the information is sent to a function in Javascript. In the javascript, the information from those textboxes is stored in a javascript variable. The problem is as follows:When I am inputting string text in the html text boxes and in the javascript when I am trying to print those values, it is giving me out an error saying NaN. However when i input integer values in the text boxes it is printing those numbers. Is there a conversion that I have to do for the string to be printed. I am new to Javascript and need your help. This is a basic code of Javascript. Below is the code that I have.
<html> <script type = "text/javascript"> function square(form)
I am rather new to HTML and Javascripting and am currently developing an Intranet Webpage. On one of the pages, I am required to update the contents of the webpage using a .csv file which will be uploaded to the server on a daily basisI have learnt that it is possible to update the contents using "Tabular Data Control" to display the contents and update it regularly. I am also reuqired to change an images according to content in the table. However, I am only able to retrieve the first row the the table and therefore would like some assistance to help retrieve the subsequent rows. ere are my codes:
Codes for the .csv/.txt files Name,Status Item #1,Completed
I'm trying to click on a link and via Ajax, get a table row to display updated data. I have it all working except it displays at the top of the table instead of inside the table at the desired row. For now, I'm just trying to add a simple table row using:
So when I click on my link to execute the ajax code, I expect to see a table row inserted with the text "four" but "four" displays at the top of the web page, above the table itself. How can I get the new row to insert at the id_row3 tag?
I want to display my data in table format after extracting it from database. Is it possible to make a table dynamically according to number of rows in the database.
I have generated a table of given dimensions (say 5x5) using JavaScript. Using Mouse events, I want to add a functionality which would display the position of the cell in that table whenever mouse pointer hovers over a particular cell.Here's what I have done.
I have folloowing code. The problem is that there are possibly 300 rows. If I set 200 of the rows' style.display = 'none', will the user see weird thing like: they may see all 300 rows first then it suddenly reduced to 100 rows? I need to load all the rows first for some other reasons which probably doesn't appy here. I want the user to just see 100 rows right from the start.
I need to display a table in a new window. when I click on a button, I got the values displayed in the same window but in a fresh page. I want the values in a new window instead of same window but in a fresh page. The below function gives the table for an array called num which is in the same htm file where are all the other functions are. As I need to use this num Array, I cannot write the code in a new file and call the url in the window.open method. Is there a way where I could write the code for the new window in the same htm file and just make the values display in a new window when I click the button. I tried window.open but that it not working. Could some one help me with this. code...
I have a javascript/html/css issue that I'm trying to solve for about 3 days now, with no luck. I'm using javascript to toggle the visibility of a certain table. I set the table's display property to none (via js) in order to hide it and to block in order to show it. However, applying block in the display property of a table seems to be having trouble with firefox.
See below what display:block does to a table in firefox: This simple html code:
<table style="display:block" border="1" width="100%"> <tr><td width="100%">test</td></tr></table> produces this result in firefox:
Notice how the td has the size of the content and does not stretch to the size of the table (although it has a width="100%")? In IE it works fine btw.
If I change my js code to apply "table" to the display property of the table in order to show it, it doesn't show up at all in IE!
I'm going to have a webpage which will contain a number of tables. Some of these tables will have a number of rows where they have been set to not show by setting "display:none". Each of these tables will have a button beside it which when clicked will result in the 'hidden' rows appearing (or disappearing).I'm very much a beginner when it comes to javascript but can easily handle the above if it was just a single table row whose appearance was being toggled but it's likely to be any number of rows. I was wondering whether I should assign all the hidden rows with a particular class and in addition assign each actual table with hidden rows a unique id. Would that then allow me to pass both table id and row class to a javascript function which would then toggle the display of the rows. At this point I'm out of my depth
This code is able to display a table and show me state, County, Genus and GenusCount and also it shows when I select option as All for Counties in my drop down. it can based on which it can change my table and give me State, all the Counties, its Genus, GenusCount but when I select a particular County and then select for genus in my drop down menu. It is not working correctly. This is my code.http://paste.flingbits.com/m58f9160Example: If I select `Tennessee->Anderson->All` it should display in tables
Using javascript how do I remove all the data within a particular table row and store it in an array. Then if the user wants it back I append the information to the same table again from the array.
I am having a problem with a select that is showing thru an opaque div. See attached image(sorry, but this is an internal client app and I cannot show more). The blue horizontal line on top is the edge of DIV that I am displaying containing the text you see. The DIV has a FILTER with opacity of 100. The little select box with a number is part of the HTML page that is below the DIV. This is the little select that the DISPLAY:TABLE element uses to implement page breaks.The second attached file has a screen shot from IE developer of the DIV that forms the modal dialog which should be on top of the select.