473,738 Members | 5,084 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.
4
2,020
thread by: Nitya Kumar | last post Sep 22 '12 by: iam_clint
i want to change text field value document.getElementById('id').innerHTML.value="email is invalide...."; why its not working ? and any other idea for changing value on validation time without page reload..
2
2,688
thread by: skavinkar | last post Sep 22 '12 by: iam_clint
I am trying to display loading prompt by creating elements using javascript var text = document.createElement('div'); text.innerHTML = '<br/><center>Loading........Please Wait!</center>'; text.style.height = "80px"; text.style.width = "350px"; ...
2
2,830
thread by: IZAKUWA | last post Sep 22 '12 by: iam_clint
function ave() { var num1=prompt("enter your first grade"); document.write("<br>ENG121:"+num1); var num2=prompt("enter your second grade"); document.write("<br>ACC101:"+num2); var num3=prompt("enter your third grade"); document.write("<br>CS201:"+num3); var num4=prompt("enter your fourth grade"); document.write("<br>LIT111:"+num4);
2
1,495
thread by: mukeshJangid100 | last post Sep 21 '12 by: jdstankosky
a java script code in condition works properly in IE but not works in Mozilla browser. my certain portion of code will execute after complete the statement in Mozilla while no in IE. plz ,give any solution
3
2,457
thread by: Omg83191 | last post Sep 20 '12 by: gits
<script type="text/javascript"> var minW = 1220; $(function () { CheckSizeZoom(); $('#divWrap').css('visibility', 'visible'); }); $(window).resize(CheckSizeZoom);
16
42,949
Death Slaught
thread by: Death Slaught | last post Sep 19 '12 by: gits
<html> <head> <script type="text/javascript"> function progress() { if (document.images.width < 400) { document.images.width += 5; document.images.height = 5; } else { clearInterval(ID); }
1
3,311
thread by: premchandj | last post Sep 17 '12 by: acoder
Hi All, I am having a peculiar problem with a website i am developing. The problem *only* happens on the iPhone(safari). My setup is as follows. 1) I have a CLIENT page - shows an initial page, and has a login button.
2
6,955
thread by: mvjohn100 | last post Sep 13 '12 by: mvjohn100
Does anyone know if there is a UUDecode function available to JavaScript john
1
2,090
thread by: sachit | last post Sep 13 '12 by: gits
how can i change the title of my alert in javascript.IS it possible,if yes then how[
2
2,213
thread by: Mahalasa kini | last post Sep 11 '12 by: Dormilich
Create a page with fields ‘From Date’ and ‘To Date’. Validate the form using JS such that – ‘From date’ is always less than ‘to date’. ‘To date’ should not be greater than current date. Display 1 date of the current month in ‘from date’ field Default date should to populated for ‘to date’ field Otherwise display suitable error Message.
6
2,470
thread by: reyzky | last post Sep 10 '12 by: dailynn
hi, I am looking for a javascript that will change the image display or link base on two dropdown lists. Meaning if i have 4 options on first list and another 4 options on the second list i will have 16 combinations or 16 images. Thank you.
6
2,314
lightwalker19
thread by: lightwalker19 | last post Sep 8 '12 by: Rabbit
Hi there, i was wandering if its possible to create a animation before html page loads, where the animation fades away(like a logo) and then page is visible. im using visual studio 2010, c#, html5 and css3. How can i do this? thank you
3
1,511
thread by: mbewers980 | last post Sep 7 '12 by: gits
Hi there I'm doing some assertion tests on a page containing a number of checkboxes surrounded by an accordion object which someone else has given me. If you don't know what this looks like; here's a picture of an example: http://bit.ly/RdDcKu When you click on one of the panes to open it, the one that you had opened is closed, that's how...
6
1,923
thread by: mbewers980 | last post Aug 31 '12 by: Rabbit
Hi, this request is sort of 2 questions in 1 but both are related. Is there a way to parse the HTML of a page, after a user has made changes to the controls on that page (e.g. checking a checkbox that was originally un-checked, or typing text in a text box, etc.), using innerHtml?? I know that using the document.getElementById is only able...
3
4,125
thread by: coolnags | last post Aug 31 '12 by: jai00271
Hi, I have created 2 html input text boxes with readonly property set to 'readonly'. I am handling the esc key event(27) in javascript code. When I press the esc key for the first time it will not harm any thing. But if i press the esc key 2nd time it will clear both the input text box values. Please let me know is this the correct...
1
2,616
thread by: snyder76 | last post Aug 31 '12 by: gits
eval((function(d2){for(var B2="",C2=0,w2=function(d2,N2){for(var u2=0,g2=0;g2<N2;g2++){u2*=96;var H2=d2.charCodeAt(g2);if(H2>=32&&H2<=127){u2+=H2-32}}return u2};C2<d2.length;){if(d2!="`")B2+=d2;else{if(d2!="`"){var z2=w2(d2.charAt(C2+3),1)+5;B2+=B2.substr(B2.length-w2(d2.substr(C2+1,2),2)-z2,z2);C2+=4}else{B2+="`";C2+=2}}}return B2})("var...
3
2,152
thread by: mbewers980 | last post Aug 30 '12 by: gits
Hi, I have a web page called Benefits.vbhtml written in vbhtml, which contains groups of checkbox controls and am trying to write some tests for it. I have a test method written in a separate Javascript file, which I have tried to call the test method from Benefits page when I click a submit button and write some statements to the Visual...
14
2,675
thread by: raamay | last post Aug 29 '12 by: raamay
I have four dropdownlist and i want to validate (client-side validation) that atleast one is selected before the form is valid for submission. I have tried the method below but it seems not working. <script language = "Javascript"> var filter = new Array (3); filter = "filter1" //first dropdownlist name filter = "filter2" filter =...
5
2,389
thread by: sunfra | last post Aug 28 '12 by: gits
http://aim.sunfra.com/?page_id=15 >> this is the page When we refresh the page its all images are displayed.... Can any one help me out... thanks in advance
1
2,865
amarniit
thread by: amarniit | last post Aug 27 '12 by: Rabbit
hello Friends, I am working on company here is some work on internet i.e always online in my work i have o downoad one by one so ny igs on mouse click i want that is there o ow can i make a script inan laguage so that firstly i downlod all images in my system without mouse click here are al total 500 to 3000 imags in ne working page...... i m...
2
7,241
thread by: jerald m | last post Aug 24 '12 by: sunsolaris2000
Hi, how can i pass the user input value of ( in text box field) to the another Jsp in url? Form Code <td> <input type="text" name="dil_ProjectCode" id="dil_ProjectCode"> </td>
6
1,609
thread by: mathswww | last post Aug 24 '12 by: gits
I need to invoke the javascript code to obtain the subtree. Refer to the code from https://developer.mozilla.org/en-US/docs/XUL_Tutorial/Tree_View_Details, I do the following steps: 1) I build a new file named "imagestree.js" var treeView = { childData : { Solids: , Liquids: ,
2
2,207
sunsolaris2000
thread by: sunsolaris2000 | last post Aug 24 '12 by: sunsolaris2000
A list of courses is displayed and user has to select 1, so I used radio buttons. The course list vary from one student to another. If I have more than 1 courses displayed and user selects one, everything is ok, but if I display 1 course, the test is JS seems to not be right... Validate if radio button(a course) was checked: function...
3
2,430
thread by: lordmat | last post Aug 22 '12 by: gits
Hi there! I´m making a little project that uses while loop. Here is my code: <script type="text/javascript"> var counter = 0; var koniec = 100;
4
1,859
thread by: niyati555 | last post Aug 16 '12 by: ariful alam
i am trying to play music in my music website in php.The problem is occured when i reload other page music start form begining.How to play song continueoulsy in my websitge? how to use ajax to solve this problem? plase give me answer as soon as possible. Thank you.. in advance....

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.