473,785 Members | 3,032 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Forum

JavaScript web scripting language - Ask questions about JavaScript development, jQuery, Vue, React, the DOM, cross-browser scripting, event handling, OOP, cookies, client-side form validation, built-in objects like Date, String, Array and Object, performance and more.
2
1,966
thread by: leifstarkey | last post Mar 14 '08 by: acoder
Hi all... My problem is I'm trying to make a form containing radio buttons and checkboxes. But on the event that one of the radio buttons is selected i want specific checkboxes to then be automatically selected. E.g. "On the event that gender male (radiobutton) is selected - for the form to then automatically select the following film genre...
3
1,160
thread by: clickingwires | last post Mar 14 '08 by: acoder
What I want to be able to do is open a new window with JavaScript at a certain height and width. But I cannot use resizeto() to do this be cause if I say 500x500 it opens accordingly but if the user has Google toolbar or Adobe toolbar the viewable space of the page is less. I want to be able to fix the inner hight and width so that it is the same...
6
1,162
thread by: tamjames75 | last post Mar 14 '08 by: acoder
Hi there, I'm new to javascript and am looking for a solution to my problem, I am creating a site for a property company and they want a enquire button next to each property and when clicked it goes to the contact form I have created where it automatically inputs the property ref number in the ref no. input box. Can anyone please help me on...
2
1,352
thread by: thecalabrian | last post Mar 14 '08 by: acoder
developing an exercise website and basically I'm looking for a way for a visitor to select how many days they can train and what equipment they have available. After this is selected, a workout routine is generated. For example, they select workout 3 days a week and they have free weights. After they submit, it says Monday and lists random lower...
1
2,239
thread by: fsalvador | last post Mar 14 '08 by: acoder
Hi, I need help with this. I am trying to figure it out but I can't. I have 2 pages. I would like to display in the second page the content of one class and hide the content of the other classes. The idea is make the user to select a language, then display in the next page the content related to the selected option. This is the code I...
1
1,359
thread by: sandy1234 | last post Mar 14 '08 by: acoder
Hi All, I am new using pdf and javascript. I have a pdf form with 3 radio buttons and if I click in one of the radio button, I would like the value to go to a text field. I am wonder if anyone can give me a hint in how to do it inside the pdf form. Any help will be appreciated and thank you in advance. sandy
3
1,467
thread by: divyaphilip | last post Mar 14 '08 by: acoder
hi, i have a button that creates a new row on each button click.The row has textboxes ,dropdown lists etc whose value is passed onto another ajax function.My problem is that i am not able to set a unique id like test#i# to all the fields in each row created.This is the function used to create the new rows. <SCRIPT LANGUAGE="JavaScript"> ...
1
1,188
thread by: Gaurav Jhamb | last post Mar 14 '08 by: gits
I have one confirm window using javascript. Now I just make changes that when i click on OK button on this window new confirmation window should be open. How I will do this. Please help me. Thanx
9
932
vikas1111
thread by: vikas1111 | last post Mar 14 '08 by: gits
Hi All.. From 2 days i am learning javascript.. I have written a very basic code to accept a name and a submit boutton.. But my program is not running.. I am working in dreameweaver mx.. My problem is that when enter name and press submit boutton the name in the text box vanishes away.. and if i press submit button without entering any data no...
3
1,511
thread by: anudu | last post Mar 14 '08 by: gits
hi , I am developing a system using javascripts and ajax. I am retrieving data from database and bind them in an html table. I am using a for loop to do this. This table has one column of html buttons. my task is to call a function when a user press the button in a row. this function will call an ajax method to bring some data fro the...
1
2,497
thread by: Axel Gallus | last post Mar 14 '08 by: tomtom.wozniak
I add some option items to a <selectbox by: ----- MySelect.length = null; // clears all options in select element for ( var i in Somename ) { MySelect.options = new Option(Somename,
1
1,361
thread by: RobG | last post Mar 14 '08 by: Peter Michaux
Below is a link to some results for the Acid 3 standards compliance test: <URL: http://www.anomalousanomaly.com/2008/03/06/acid-3/ > -- Rob
2
2,387
thread by: vunet | last post Mar 14 '08 by: shawn
I've been thinking about how AJAX sites implement page browsing when in fact the whole site is on one page. I know I may store page content in array and add new content to this array as user clicks AJAX driven links for the purpose of browsing history, etc. But what if I want to share the page with somebody and AJAXed site always starts with...
12
3,789
thread by: Vengo | last post Mar 13 '08 by: Vengo
Hi, I have a doubt whether it is possible to give the form validation error msg to the tooltip which is used for field description. thanks in advance, cheers, vengo.
3
1,726
thread by: Charles Packer | last post Mar 13 '08 by: Charles Packer
I need to present a list of options in dropdown list B based on what the user selected in dropdown list A. Both A and B content will be generated dynamically from a database, similar to the way http://cars.com lets the user select the make of a car, which in turn populates a list of models. (That site itself is no help, since the relevant...
3
1,496
thread by: Spizzat2 | last post Mar 13 '08 by: Spizzat2
I've got some javascript that will show or hide an element on the page when a user activates it. The problem I'm having is that the content changes the length of the page, so if the user scrolls to the bottom of the page with the element showing, and then said user hides the element, the page has to shrink down back to its original length....
1
1,837
thread by: hpandya | last post Mar 13 '08 by: gits
hi All, I want to display an alert message that closes after 3 seconds automatically Is there a way to do this?? Please help!! Thanks
1
1,740
thread by: jeet232 | last post Mar 13 '08 by: acoder
Hi, how can I get to know when user clicks browser back button? I want my own javascript code to be executed when this happens. Also, is there a way that whenever any link in the page is clicked, my code executes. I can't add eventhandler to every link. Can it be done at once? Thanks for your time Jeet Singh
2
1,867
thread by: Inny | last post Mar 13 '08 by: Inny
Im using the following script to resize and Automate thumbnails of user posted images on my forum. However I dont like the white background of the new window. Im wondering if its possible to launch the full size image in a customized window with a background image, such as Image veiwer window <script> function ResizeThem() {...
3
1,352
thread by: deepthi230 | last post Mar 13 '08 by: acoder
i need to parse a xul file and get the xulElement from it.when i m using parseFromString method of DOMParser, the XMLDocument returned contains xml Elements.
1
2,626
thread by: sivakumarsubash | last post Mar 13 '08 by: acoder
I want to print all the files within the folder without opening the print dialog using javascript. the files may be any format, ie doc, xls, pdf, jpeg etc.. any help would be appreciated...
1
941
RamananKalirajan
thread by: RamananKalirajan | last post Mar 13 '08 by: acoder
Hello Guys, I am currently involved in a project in which I am dynamically creating two dates namely start date and end date field, after entering the both dates I have to validate whether the startdate & End Date are valid (i.e End date is greater than Start Date). As I create as much rows I have to check all the date values. I am using (this)...
1
3,545
thread by: SunshineInTheRain | last post Mar 13 '08 by: acoder
My project has 3 files, File1 has included master page. file1 consists of iframe1 that load file2. File2 consists of iframe2 that load file3. Javascript used on each file to resize the iframe height based on the each iframe's content height. It is work well on IE, but the error "has no properties" occured with firefox on code as below....
5
1,343
thread by: Hydrogen | last post Mar 13 '08 by: acoder
Hello there, I've got a few dropdown 'SELECT' controls on a page that represent the days months and years. A little popup calendar will send back the day month and year and insert them into a text box with no problems. But I want the drop down menus to have their selected values changed using javascript. Is this possible anyone? Thanks
5
10,397
thread by: alhalayqa | last post Mar 13 '08 by: acoder
Hi Guys, I have attached the beforeunload event and its handler to the window as : // this is FireFox only window.addEventListener("beforeunload",beforeunloadHandler,false); function beforeunloadHandler(event){ event.returnValue="my message !";

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.