473,770 Members | 5,862 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.
1
2,240
thread by: radhikams | last post Mar 10 '08 by: iam_clint
Hi All Is it possible to develop a flowchart using javascript? If yes can anyone tell me of how to proceed with it.... Thanks
1
2,307
thread by: trnghosh | last post Mar 10 '08 by: acoder
Sir, I want to make one form that will enable my user to quote his order and after that he will click the " Order Now" button so that I get all the infomation in my email . I am very new in Javascript language. Can anybody solve this. I apend below two script so that anyone can modify it as per my requirements. May be it is totally wrong. Any...
1
1,116
YellowSwordfish
thread by: YellowSwordfish | last post Mar 10 '08 by: iam_clint
I am the author of a WordPress plugin (php) that uses some very simple and standard AHAH calls here and there. 99% plus of my users have no problem with this but one or two receive 404 errors on the AHAH call. We have confirmed files are all correctly located, permissions are perfect and if I paste the url into the address bar of the php file...
5
1,215
thread by: valhalen | last post Mar 10 '08 by: valhalen
hi, I am creating a quiz application in Javascript where each page has one question. I would like to calculate the score and time taken to answer all questions at the very end - how do I achieve this? Can I pass values (like score for each question and time taken to answer that question) to the next page so that I can total it at the very end?...
5
1,579
epots9
thread by: epots9 | last post Mar 10 '08 by: epots9
I'm just wondering if it is possible to capture the progress bar in ie/ff?
1
1,854
thread by: sindhu | last post Mar 10 '08 by: gits
Hello, I am able to attach event to dynamically created element.as shown below. for(var i=0;i<10;i++) {for(var j=0;j<15;j++) { var div=document.createElement('div'); div.setAttribute("name","div"+i+j); div.setAttribute("id","div"+i+j);
8
2,588
thread by: SSG001 | last post Mar 10 '08 by: rnd me
I have follwing function to check if the user enters blank non zero value and other then numbers in the text box // this is in the for loop but tabindex goes ahead and fires the event again how do i prevent the tabindex going to the next textbox <input type="text" name="<?='qty'?> id="<?='qty'?>" onchange="chkqty(this.name);"...
1
14,173
thread by: Softnile | last post Mar 10 '08 by: rnd me
Hi I tried to use the following code to delete file in javascript, BUT this code gives an error smthing like.. "Automation cant create object" Can anyone give solution to this problem OR can i use any optional coding for this problem. I used :Following Code Plz help .Its urgent....
3
1,028
thread by: nameno | last post Mar 10 '08 by: hsriat
i have the following code ..witch will change the background off my page from files on my computer..but it opens a new window to do it . Can it be made to change the background on the same window ?? <HTML> <HEAD> <TITLE> New Document </TITLE> <script> function display_image(image) { myWindow = window.open("", "Preview",...
4
2,256
thread by: raknin | last post Mar 10 '08 by: hsriat
Hi, I am creating dynamic list in the server through php and insert it using ajax. for ajax I using the following statement: document.getElementById(list_name_id).innerHTML=xmlHttp.responseText ; until now everything is OK the list is builds correctly. but when I use the document.getElementById(call_list_id).options.value I got an...
22
4,248
karthickkuchanur
thread by: karthickkuchanur | last post Mar 10 '08 by: hsriat
I want to hide the following value to hide when i call the url <script> function callEmployeeEducationalHistory() { document.forms.action='/echain/hr/EducationalHistoryFetch.echn?&employeeCode=' +document.forms.employeeCode.value+'&employeeName=' +document.forms.employeeName.value ...
5
913
thread by: wangers16 | last post Mar 10 '08 by: Logician
Hi, I have the following code for use in a cookie script that can change the stylesheet depending upon what the visitor has decided on, here it is function getcookie(c_name) { if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "="); if (c_start!=-1)
10
1,904
thread by: jpollack | last post Mar 9 '08 by: acoder
I don't know JavaScript but have been tasked to write a script that will change the value of a Boolean variable to the word "Yes" on a table row. I have been trying to achieve this based on my knowledge of ActionScript. Needless to say, I have not been successful! ##CUSTOM_SUB_MARKETEYE## is a tag that pulls the Boolean result from a database....
2
1,459
thread by: chupcha | last post Mar 9 '08 by: acoder
Hello all, I'm very new to java script and I need help. I have a couple of buttons on a page that I need to disappear when one of the buttons is clicked. What I found is this: onclick="this.setStyle('display', 'none') It works great, but only for the button that is clicked. How would I make it for all the buttons to disappear?
3
1,556
thread by: SteveKlett | last post Mar 9 '08 by: Laurent vilday
I'm using a on-demand, SaS ERp application. I would like to customize a few aspects of the application and I can as they have the ability to "deploy" custom scripts with the served up pages. One of the things that the page does it open a popup child window. I can't directly hook into this process and get a reference to the popped window,...
2
2,469
thread by: jman | last post Mar 9 '08 by: endangeredmassa
i'm getting an "object expected" error in ie - not ff. in the BODY onload attribute i call a function that's loaded from an external file. i've narrowed the error down to the fact it cannot find this function. <script src="external.js">
5
7,104
thread by: gnaniyar | last post Mar 9 '08 by: acoder
How to find a window sate in Java Script ? I want to know whether the window is maximized or minimized ?
4
1,317
thread by: davidson1 | last post Mar 9 '08 by: acoder
Hai Friends, I have a javascript program , as a snow a single picture will fall from above to below in the browser.It is worked properly when my friend was using.Sudennly it is not working ,pl correct if there is any error and send me............... <HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript">
5
2,085
thread by: emm | last post Mar 9 '08 by: acoder
Hi to everybody! I want to compare current date (server date) to the date inputted by the user. It should detect if inputted date is earlier than or equal to the current date. For example: Current date is 3/6/3008 Inputted Date by the user is 03/05/2008 Below is my function: function checkDateInput(dateString){
17
2,197
thread by: viki1967 | last post Mar 9 '08 by: viki1967
Hi there. I have this form with three fields: <HTML> <HEAD> <script language="javascript"> <!--
3
1,616
thread by: sdja | last post Mar 9 '08 by: sdja
i am developing an application in javascript.I have added a mouse event handler for a div tag. I have specified the div tag as <div class="xyz" id="abc"> .........</div> if 'e' is the mouseevent object, 'e.srcElement' gives the source element. Consider the following piece of code var temp = (typeof e.target !=...
3
2,037
thread by: mentor | last post Mar 9 '08 by: mentor
When user is authenticated, the server store "UserName" in session. Then throug ajax, the user request another page which require authentication. How the ajax request tell the server that one has been authenticated, or how the server know it's from 'UserName"? Should ajax set SessionId in Header or Cookie ? How to get and set the SessionId ? ...
8
2,192
thread by: McKirahan | last post Mar 9 '08 by: Thomas 'PointedEars' Lahn
Why does the following happen? How can it be suppressed? Under Firefox, use the left-mouse button to drag any image into the textarea and 52 copies of the image's URL appear! <html> <body> <form> <img src="http://www.google.com/intl/en_ALL/images/logo.gif"> <input type="reset">
6
8,644
thread by: James007 | last post Mar 8 '08 by: traineeirishprogrammer
Hi everyone, I am developing a web page for an embedded application. I created a text box for entering a value (only 1 byte long). The onchange event triggers correctly when I enter the value from a keyboard and press enter. However, it doesn't seem to fire when a javacript (a slider in this case) modifies the text box's value. I have...
10
4,060
oll3i
thread by: oll3i | last post Mar 8 '08 by: hsriat
I want to call two functions on submit onsubmit="return checkTitle(this,'<? echo $language?>');setOfferCookies()" but it doesnt even call the first function function checkTitle(form,language){ alert("checkTitle");<----to check if it works if(form.title.value.length==0 || form.title.value=="***Proszę wpisać tytuł!" || ...

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.