473,543 Members | 1,908 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.
0
986
thread by: dseals22 | last post Feb 24 '17 by: dseals22
Here is the HTML file @model CheckerBoard.Models.HomeModel <html> <head> <title>@Model.PageTitle</title> <link href="~/Styles/Home.css" rel="stylesheet" /> </head>
0
1,208
thread by: dseals22 | last post Feb 26 '17 by: dseals22
I have this red and black checkerboard pieces on a checkerboard, but how do I get them to move. For example, if I wanted to move the first checkerboard red piece to the seventeenth cell how would I do that? To clarify, what I want to be done is when I click on the first red highlighted checkerboard piece, I want that to move to next closet...
24
1,439
thread by: dseals22 | last post Mar 9 '17 by: jmrker
Hello Everyone, I am working on a creating an instance of a class in JavaScript using Object-Oriented skills. The question I have is how can I implement an object graph with using the code that I have so far in my JavaScript file? Here is my code so far. function Person(Name, Grade, Gender, GPA, ClassRank) { this.Name= name; ...
1
1,011
thread by: shabilevi1 | last post Mar 13 '17 by: Dormilich
<html> <head> <title>Page Title</title> <script src="https://code.jquery.com/jquery-3.1.1.js"></script> </head> <body> <p value="223">JQuery is </p> <!--!The code prints an integral number like 4! But I'm actually a decimal number 4.4-->
1
1,112
thread by: jonasstuart | last post Mar 15 '17 by: Dormilich
Hi Buddy I am beginner and facing a problem with KnockoutJs.Please provide me basic concept of knockoutJs. I would really appreciate your help.
3
2,401
thread by: jacelyn2211 | last post Mar 15 '17 by: gits
can i have 2 function with same function name but different argument in a javascript? my code are as followings:- function crtHidObj(name,value,idx){ crtHidObj(name,value); createCookie("CollectionRuleCrit."+name,value,100); } function crtHidObj(name,value){
2
2,341
thread by: Roamer | last post Mar 15 '17 by: gits
Hi, have a problem and do not know hot to solve it. Image needs to insert where the cursor is. I have to hit the space bar, select the space, then insert the image (works). How do I insert the image exactly the where cursor is? <html> <head>
1
1,283
thread by: suguna | last post Mar 16 '17 by: gits
i have multiple product. multiple product private rate, fixed the price rate and add the quantity value fetch total value increased
1
1,416
thread by: blainefox | last post Mar 16 '17 by: gits
First I have a script file like: alert('a'); if(***) alter('b'); saved on the server. I'm using AngularJS developing a mobile app which reads and executes it using eval(). On iOS safari alter('b') will come up first then alter('a') and it seems codes after eval() will run asynchronously.
0
1,387
thread by: sandy110487 | last post Mar 19 '17 by: sandy110487
There is iframe1/iframe2/iframe3/iframe4 define in main from where popup generated (using window.showModalDialog()). and from popup if I am trying target="iframe1id" and document.Popupform.submit() doesn't work in safari. Problem 1 This works on all other browser not in Safari MAC document.popupform.target="iframeid" ...
1
977
thread by: jerimik1 | last post Mar 22 '17 by: Dormilich
I have followed instruction on getting rid of unresponsive script prompt, but can't figure out how to change value to 30
4
1,354
thread by: neelsfer | last post Mar 22 '17 by: Dormilich
I need to change a South African ID number to the date of birth (DOB)dd/mm/yyyy using javascript example of ID Number - 0203185149088. My code gives it as 18/03/02 instead of 18/03/2002 and if ID No is 6202185155087 then i get 18/02/62 and not 18/02/1962 The years before 2000 and after needs to be added please dd/mm/yyyy Please assist...
2
1,280
thread by: alertme | last post Mar 22 '17 by: alertme
please i have a problem my site was hacked and the problem is that when i enter my domain name it will take to page and in this page i saw hacked by orkhan39,so please how can i stop this from happening,anyone can visit the site in the web browser to see what the problem is www.brainbagtutorials.com,please i need help to restore my site thanks in...
2
1,400
thread by: AutumnMitchell1 | last post Mar 28 '17 by: AutumnMitchell1
Why all of a sudden am i receiving an error code of 40956175590219 when i try and load a game i have played many times before?
2
1,530
thread by: kkshansid | last post Apr 16 '17 by: kkshansid
<span id="STATUSCNAME"></span> javascript if((editableObj.value=="" || editableObj.value.length>32 || regexname.test(editableObj.value)==false)) {$("#STATUSCNAME").html('<font color="red">*Required alphabets upto 32 characters!</font>');} else{$("#STATUSCNAME").html('');} } both working but on submit i want to check validation that all...
1
1,314
thread by: Sourav D | last post Apr 18 '17 by: Dormilich
Whether AJAX is reliable ENOUGH to send data as URL to target webpage in wide area network ?
5
1,278
thread by: lisarose | last post May 3 '17 by: Dormilich
Design a form in HTML that performs string manipulations. The form should consist of two text boxes to accept string inputs, 4 option buttons to perform the below functions at the click of a button using Javascript: 1. To encrypt the text given in text1 with text2 2. To concatenate the text given in text1 and text2 3. To find the...
2
1,227
thread by: priyanka m r | last post May 22 '17 by: priyanka m r
Stay in same page after submitting the form details while using pagination on website without redirecting to index page using jquery
11
1,557
thread by: ravigpalli | last post May 29 '17 by: Dormilich
Hi All, Can some one please explain what exactly is the below line in bold means , var i = ctl.id; var j =g_form.getValue(i); var port = j; if (/^\d+$/.test(port)){ ----- Please explain what is this var k =parseInt(g_form.getValue(i));
1
1,210
thread by: lenra | last post Jun 2 '17 by: Dormilich
i have already read more button, but all the input data in the database is display in one box, if i click read more all the data will show in one box. I want is to display it one by one that have read more them-self and separate boxes. sorry for wrong grammar thanks
4
1,673
thread by: chijioke | last post Jun 4 '17 by: jmrker
please i have a problem,i create new input field when a button is click,but i want each of the new create field to have a unique id,so i can use it for calculation in javascript. function create(){ var newinput = document.createElement('input'); newinput.placeholder = "test1"; newinput.id =...
5
1,387
thread by: bibibobi | last post Jun 7 '17 by: Dormilich
Is there any good way to tell whether the current browser is a 360 browser by javascript?
1
1,335
thread by: arvindvyas | last post Jun 7 '17 by: Dormilich
sir,i have javascript file,this file link in html script for exp.< a href="js\jsmyfun.js"></a> above file could view to press mouse right button please sloved this problem.
0
1,422
thread by: DevMahmoud | last post Jun 18 '17 by: DevMahmoud
i have two input every input upload one image , and i write script to validation width and height for one input only and i don't know i use this script to validation two input. this is html code:- <input class="form-control valid" data-val="true" data-val-required="This field is required" id="File1" name="File_ar" type="file" value=""> ...
1
1,581
thread by: neelsfer | last post Jul 6 '17 by: neelsfer
I have this Ajax with PHP that determines my value correctly from a php sql query, on my "test page". When adding the code to my main page, the button adds the correct data for a half second, and then removes it, leaving the "categories" input textbox empty. The rest of the page is populated onload from local storage, before i press this...

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.