473,804 Members | 3,462 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.
3
2,253
thread by: sindhu | last post Feb 15 '08 by: acoder
Hello, i've a requirement where i want to change the entered date format based on the selection of whether mm/dd/yy , dd/mm/yy or yy/mm/dd Please give me some idea on how to do this using javascript thanks alot
24
8,563
TheServant
thread by: TheServant | last post Feb 15 '08 by: acoder
Hey guys, I used this free tutorial on how to make a live server clock. I did, but a) doesn't work (not too worried, I am sure I can fix this) and b) it out puts the clock to a input text field?! I want it to be in just a normal text display? The core code: <!-- function startclock() { var server_time = new Date();
1
1,280
thread by: abhishekbrave | last post Feb 15 '08 by: abhishekbrave
I have created a function to open a link in a frame but my frame structure is divided in to 3 rows then 3rd row in two columns and then the second column in 2 rows and then again 2nd row in 2 columns .. so i want to know how to specify the column number in the following srcipt after parents.frames.location.href = url1; }
1
1,012
thread by: Javilen | last post Feb 14 '08 by: mrhoo
I have an app where people scan orders in and we pull all the details, they then confirm and correct details that scanned incorrectly. One field is price, what the client is starting to do is enter invalid prices, for example today they entered “.” And that’s it, which crashes a back end app that converts the xml to EDI and sends it to the...
2
2,235
thread by: noon | last post Feb 14 '08 by: The Natural Philosopher
Can't get this to work, tried every bit of code I could think of and every snippet I could find out there. I have a form with the js code in the onsubmit action. I know, I shoved it all in there instead of making a function. I don't have access to include a .js file or put it in the head, work with me. How can I get this to work? ...
2
2,023
thread by: vunet | last post Feb 14 '08 by: Krukow
When implementing JSON as a form of data exchange between server and client, what security measures do I need to consider? For example, I have XMLHttpRequest returning JSON text from the server and eval() converts string to the JavaScript object. I heard about problems with "eval" and idea of using "magic cookies" to avoid attacks. Anyway,...
3
3,046
thread by: frosted74 | last post Feb 14 '08 by: frosted74
Hi, I have 2 javascript functions, one that sorts a table and one that shows/hides a modal dialog that displays something like "Sorting" with a little icon indicating that the browser is "busy" and you need to wait. This is done because on larger tables the sort routine can take upwards of 10 seconds. I try the following code: <th...
6
1,521
thread by: boyindie86 | last post Feb 14 '08 by: acoder
HI I am trying to use the window onunload event, so that when a user closes the window it will go and delete a text file that it uses to read contents from, so to stop my server filling up with loads of text files. But i have problem that it will go and delete a file if i push a button as it considers moving away from that page as an...
3
1,186
thread by: srikanth reddy | last post Feb 14 '08 by: acoder
How To Find Out Ip Address In Java Script Also Find Out Mac
3
2,126
thread by: Wiizl | last post Feb 14 '08 by: Wiizl
I really need help on this one. The problem is quite simple- I've got many text fields that user has to fill. The thing I can't figure out is how NOT to allow go to next field if the length of current field's value is less than 6 digits. I tried something like this, but I know almost nothing about javascript: var lg =...
3
2,343
thread by: SagarDoke | last post Feb 14 '08 by: gits
i am using ext js - javascript library. i wrote a program using ext class. when i was executing it, it was giving error, that ext class is not found. then how can i set the path of ext class. or there is any other way to implement this js file?
13
2,196
oll3i
thread by: oll3i | last post Feb 14 '08 by: acoder
Why var offer=document.getElementById("editor_displaying_text").value; returns undefined? Thank You
6
6,143
thread by: ryanmhuc | last post Feb 14 '08 by: SAM
Is there a way with javascript to force firefox on a page to display the scrollbar even when the content does not extend outside the viewable error? Going from page to page where the scroll bar displays and then doesn't display causes the page to visually jump when the scroll bar is shown then hidden.
1
1,168
thread by: samatair | last post Feb 14 '08 by: gits
Can anyone recommend me a good book on Javascript. I have already done programming in VB and PHP. Your suggestions are appreciated. Thanks
3
5,172
thread by: =?ISO-8859-1?B?Rvpsdmlv?= | last post Feb 14 '08 by: Evertjan.
Hello all, My application delay some minutes when I press a button(it's doing some working ). How can I put a message: "Please wating" during this delay? It is important that after the execution finish this message disappear. Fúlvio
3
1,582
thread by: sqlexeption | last post Feb 14 '08 by: acoder
document.onclick = getcoordinate; var mosX = 0; var mosY = 0; function getcoordinate(e) { if (!e) var e = window.event; mosX = e.clientX + document.body.scrollLeft;
2
9,780
thread by: Nimesh83 | last post Feb 14 '08 by: acoder
HIi how can i open page like help(showhelpmst.php) in my webpage(test.php) on tha same page(test.php) thru onclick and document.location this is my code <IMG onclick=document.location="showhelpmst.php?helpid=$questionid" src='../templates/images/question_1.gif' 'align='absMiddle' alt='Help' style="cursor:help"></td>
1
1,665
thread by: chriskaza81 | last post Feb 14 '08 by: acoder
well what i try to do is export some data on excel using ajax javascript technology but i comfused how the Response work in asp anyone knows about this ... maybe some code would be helpfull..
1
1,277
thread by: narend | last post Feb 14 '08 by: acoder
I want to validation in time in 24:00 Hours format.. i am using in txtbox in html
1
3,424
thread by: aotash | last post Feb 14 '08 by: acoder
This javascript shows and hides description (like alt in image tag). It works in IE but not in Mozilla, what is wrong please help: <SCRIPT LANGUAGE="JavaScript"> // ############## SIMPLE BROWSER SNIFFER if (document.layers) {navigator.family = "nn4"} if (document.all) {navigator.family = "ie4"} if...
6
1,624
thread by: sudagnr | last post Feb 14 '08 by: acoder
when my javascript function is executed then, it should dynamically load controls on my web page, using java script and asp.net... can cany one help me on this........
6
1,730
thread by: bizt | last post Feb 14 '08 by: Gregor Kofler
Hi, First let me point out I have googled this and also must have done this operation a dozen times (altho a few years ago) but for some reason I cant get a form to submit using javascript .. Ive tried both FF and IE. All the pages that I look at all say the same way which is the way Im sure Ive done it before: My code is:
1
1,669
adelemb
thread by: adelemb | last post Feb 14 '08 by: tswaters
Hi all, I want an image to display in a table if another table cell shows an updated date of less than 24hours. The date displayed in the cell is already working and display fine, but I have no idea where to start with calling the image! This is to be used on a forum that displays a list of posted messages in a table. If a new message is...
1
1,564
thread by: jmcgranahan | last post Feb 14 '08 by: tswaters
First, a disclaimer: I am a librarian by trade, but have the responsibility of maintaining/updating our online catalog. I've dealt with some JavaScript before, but I am no expert, so please forgive my ignorance. Question: Our automation system creates information dynamically for us. In one particular area of our page, it is adding a...
3
1,785
thread by: anoop.kn | last post Feb 13 '08 by: anoop.kn
Is there anyway to access Global Function Pointer from its name ? I want to call the function at runtime during a script execution. PS: eval() works, I looking for a more efficient way of doing the same ! Ex: function testfunction ( msg ) { alert( msg );

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.