473,554 Members | 3,768 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.
61
3,023
thread by: shapper | last post Jan 13 '08 by: dhtmlkitchen
Hello, I would like to use a javascript library to simplify my coding process. I know a few: JQuery, Dojo, Yahoo UI, ... Which one do you advice me to use? Thanks, Miguel
61
5,270
thread by: bonneylake | last post Sep 18 '08 by: bonneylake
Hey Everyone, Well after asking many questions i have this almost working. This is how it works. Basically i fill in my customer number field an that populates my drop down box. Once i select an option from the drop down box it populates the rest of the form. The problem i am having is that if a customer number doesn't exist in the drop...
61
3,748
anfetienne
thread by: anfetienne | last post Jun 15 '09 by: acoder
could anyone tell me the mthod to use javascript/ajax to post to a sql database? or could someone point me to a tutorial?
60
7,221
thread by: Fotios | last post Jul 20 '05 by: Richard Cornford
Hi guys, I have put together a flexible client-side user agent detector (written in js). I thought that some of you may find it useful. Code is here: http://fotios.cc/software/ua_detect.htm The detector requires javascript 1.0 to work. This translates to netscape 2.0 and IE 3.0 (although maybe IE 2.0 also works with it)
60
7,905
thread by: FAQ server | last post May 30 '07 by: VK
----------------------------------------------------------------------- FAQ Topic - How do I prompt a "Save As" dialog for an accepted mime type? ----------------------------------------------------------------------- It is not possible with client-side JavaScript. Some browsers accept the Content-Disposition header, but this must be...
60
4,952
thread by: marss | last post Aug 5 '07 by: Zeroglif
Maybe anyone know good free online JavaScript knowledge test? This not exactly a system for testing online required - it may be simply list of questions with variants of answers (I have to prepare tests for learners and I need something to be taken as basis). I was able to find only this (http://www.w3schools.com/js/ js_quiz.asp), but I...
59
6,894
thread by: pamelafluente | last post Sep 13 '06 by: Dr John Stockton
Hi, If I have: <div style="background:anyColorHere"Hi </div> where anyColorHere is any hex string that represent a valid color. How can I invert that background color "anyColorHere" ? Can you point (or suggest) a script
57
3,614
thread by: Chris Tomlinson | last post Jun 1 '06 by: David Dorward
Hi all, Hope someone is able to help. I notice when I design a basic HTML page, it is affected if a WinXP user has Large Fonts set in their Control Panel. However some pages, e.g. www.bbc.co.uk/news are unaffected by this I think. They are definitely not affected by changing the font size within the browser. Because I want to add...
57
5,145
thread by: bonneylake | last post Oct 7 '08 by: acoder
Hey Everyone, well was hoping if someone could explain to me how to add an alert for the description fields of this multiple attachments script. The problem i think i am having is i don't know how to make it check multiple fields to make sure each field has been checked for a description before submitting. Here is what i have on my form...
56
3,940
thread by: Luke Matuszewski | last post Feb 17 '06 by: Thomas 'PointedEars' Lahn
I am designing the library, which will hidden all its functions within singleton object ... So for clients they will use it like . eg. system.getElementWithId('ruler'); At library side, i will use constructs like follows (at global scope) eg.
56
2,945
thread by: ashore | last post Feb 21 '08 by: Eric B. Bednarz
Guys, I see a fair bit of negativity around re subject package. Can someone share your views, either way? Thanks, AS
55
7,166
thread by: Ton den Hartog | last post Jul 20 '05 by: Dr John Stockton
Stupid basic question but I find it horribly imposible to find the answer elsewhere... :-( I want to have a piece of text in my HTML page and want to be able to change it in a Javascript function that is called from a button. I think I can use a <div id="t"></div> for this ? Something like
55
4,138
thread by: drhowarddrfine | last post Jul 23 '05 by: Randy Webb
I'm working on a web site that could use some control using js but am concerned about what problems I may have with potential users having their js turned off. Has anyone had any serious problems with this sort of thing? I know some of these potential users are with big companies and am wondering if anyone had real problems with that.
54
4,517
thread by: tshad | last post Jul 23 '05 by: Richard Cornford
I have a function: function SalaryDisplay(me) { var salaryMinLabel = document.getElementById("SalaryMin"); salaryMinLabel.value = 200; alert("after setting salaryMinLabel = " + salaryMinLabel.value); } I also have an asp.net object:
54
8,248
thread by: VK | last post Dec 26 '05 by: bwucke
Mission statement: A mechanics to get text stream into browser from any Web location without reloading the current page. 1) This mechanics has to support *at the very least* IE 5.5 and higher and Firefox 1.5 and higher: but it may be completely different from one browser to another. It is important only to be able to build an uniformed...
54
2,937
colinod
thread by: colinod | last post Jan 19 '10 by: Dormilich
I have the following code that adds up amounts if checked using a checkbox <script type="text/javascript"> function calculate(f) { var nums = f.num; var ntext = f.num; var result = 0; for(var i=0;i<nums.length;i++) {
53
7,318
thread by: Bill | last post Jul 20 '05 by: Fabian
Hello Programmers, I am looking for either Java Script (OR HTML etc) to DEFEAT Pop-up Stoppers e.g It will bring up a window that will LOOK like a Pop-up FEEL like a Pop-up Allow a name and e-mail entry BUT is not affected by Popup Stopper, PopUp Killer etc
53
5,661
thread by: Cardman | last post Jul 20 '05 by: Cardman
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is difficult to know what is going on. One of these Order Forms you can see here... http://www.cardman.co.uk/orderform.php3
53
81,669
thread by: usenet | last post Oct 28 '05 by: Thomas 'PointedEars' Lahn
See <ul> <li><a name="link1" onClick="alert(this.name);return false;" href="#">Link1</a></li> <li><a name="link2" href="javascript:alert(this);">Link2</a></li> <li>Item 3</li> </ul> Clicking on the first list item gives me "link1" because "this" refers
53
2,893
thread by: Aaron Gray | last post Aug 31 '08 by: dhtml
I jokingly say this is the late entry :) Okay I have read all the event entry comments from John's Resig's AddEvent comepition blog :- http://ejohn.org/projects/flexible-javascript-events/ and put together the following offering for my LGPL'ed library functions :- function addEvent( el, type, fn, cascade) {
53
4,912
thread by: Aaron Gray | last post Aug 4 '08 by: Henry
Due to M$'s stupidity in not making DOMElements first class citizens the following will not work :- function isElement( o) { return o instanceof Element } It works for FF, Opera and Safari.
53
8,341
thread by: souporpower | last post Nov 7 '08 by: Eric B. Bednarz
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script language="javascript" type="text/javascript">
52
9,585
thread by: piaseckiac | last post Jul 20 '05 by: Lee
I am producing a website on air and need a link to change the entire website from standard to metric for temperature, pressure, miles-kilometers, and volume. Thank you.
52
4,553
thread by: DJ WIce | last post Jul 20 '05 by: DJ WIce
Hi all, I did make a script/css thing to replace the contextmenu on the website with a new one: http://www.djwice.com/contextmenu.html It works nice in MSIE, but on Netscape (and probable other browsers) it stays on the same place (does not "open'' where the mouse is). And the links do not work when you click on them. If anyone has...
52
1,565
thread by: FAQ server | last post Feb 7 '07 by: VK
----------------------------------------------------------------------- FAQ Topic - How do I convert a Number into a String with exactly 2 decimal places? ----------------------------------------------------------------------- When formatting money for example, to format 6.57634 to 6.58, 6.5 to 6.50, and 6 to 6.00? Rounding of x.xx5 is...

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.