473,544 Members | 1,968 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
373
thread by: FAQ server | last post Dec 17 '06 by: Dr J R Stockton
----------------------------------------------------------------------- FAQ Topic - How do I find the size of the window/browser canvas area? ----------------------------------------------------------------------- While it is often asked about window size, what is more relevant is the "canvas area" of the browser. Where supported in NN:...
4
374
thread by: OneSolution | last post Jul 23 '05 by: Lasse Reichstein Nielsen
I am trying to write a regular expression that will match all the exceptions generated in my application log file. I have done it as such: \bjava\.\w+\.\w+Exception: However, there are two exceptions that I know will occur and I don't care to catch them. So I need to modify the above regular expression to ignore the two exceptions that...
2
374
thread by: Antoine | last post Jul 23 '05 by: Antoine
Does anyone have a suggestion for a right click over for within an existing page but specifically a calendar control in aspx, that does not require its own div as I think this causes problems as this is already within its own div?
7
374
thread by: lukaszmn | last post Jul 15 '08 by: Richard Cornford
Hi, I cannot figure out why everything from line "var elem = doc.getElementsByName('keywords')" in x.js is not executed. I want to set value of <input name=keywords ...which is in a.html after page is loaded. ------------------ search.html -------------------- <html> <head> <title>Search</title>
3
375
thread by: FAQ server | last post Sep 18 '07 by: Evertjan.
----------------------------------------------------------------------- FAQ Topic - When should I use eval? ----------------------------------------------------------------------- The ` eval() ` function should _only_ be used when it is necessary to evaluate a string supplied or composed at run-time; the string can be anything from a simple...
1
376
thread by: yaya9 | last post Jul 23 '05 by: Reply Via Newsgroup
Hi, I'm using asp .net for web dev. I have a datagrid with a scrollbar (a span). I'm trying to use my function to show the tooltip (of an HTML table). the function I'm using is calculating the right x,y coordinates relative to the client screen. but... the tooltip is shown within its container (the span) and cannot get out of it. so when...
1
376
thread by: javajavalink | last post Jul 23 '05 by: Tim Slattery
I am relatively new to java and have already tried many ways to write to text files with Java. Is there any way to write to a text file without overwriting what is already there??
8
376
thread by: FAQ server | last post Jan 4 '07 by: Richard Cornford
----------------------------------------------------------------------- FAQ Topic - How do I detect Opera/Netscape/IE? ----------------------------------------------------------------------- The « navigator » object contains strings which specify the browser and version; however, this is in general not very genuine. Mozilla (and therefore...
3
377
thread by: =?iso-8859-1?q?Marcos_Jos=E9_Setim?= | last post Dec 21 '06 by: Dr J R Stockton
Hi, I would like to know if is better to use document.forms to detect forms or getElementById. Thanks
1
378
thread by: dave | last post Dec 14 '05 by: Thomas 'PointedEars' Lahn
Hi all, I have a form that i would like to submit to a popup window but i would like all the javascript code in a function apart from the tickbox to submit the form, also at the start of the form the line <form name="myform" method="post" action=""> must stay like this as i call another function later on and if the action part changes it...
2
379
thread by: alain dhaene | last post Jul 20 '05 by: alain dhaene
Hi, I have follow problem: The function don't reconigze the radiobutton of is it something else? function bericht(form) { ..... alert(form.RKoptekst.value); // wrong : gives UNDIFENED
12
380
thread by: FAQ server | last post Jul 2 '07 by: Richard Cornford
----------------------------------------------------------------------- FAQ Topic - Why are my rollovers so slow? ----------------------------------------------------------------------- Images are cached by the browser depending on the headers sent by the server. If the server does not send sufficient information for the browser to decide...
1
380
thread by: FAQ server | last post May 21 '07 by: Dr J R Stockton
----------------------------------------------------------------------- FAQ Topic - How do I open a new window with javascript? ----------------------------------------------------------------------- New windows can be opened on browsers that support the ` window.open ` function and are not subject to the action of any pop-up blocking...
9
381
thread by: Praveen Ramesh | last post Jul 23 '05 by: Richard Cornford
Hi, I just started writing a lot of script code in JavaScript (accessing browser DOM basically) and coming from the C#-VS.Net background, I just hate it. There is no true class definition support and no code-editor support for code-completion, not to mention debugging and stuff. Do you guys know of any good code-editor that might make my...
1
381
thread by: FAQ server | last post Feb 24 '07 by: Evertjan.
----------------------------------------------------------------------- FAQ Topic - How do I get a perl/asp/php variable into client-side js? ----------------------------------------------------------------------- Use the server-side language to generate the javascript: var jsvar="<%= aspvar %>"; var jsvar="<?php echo $phpvar ?>";
3
382
thread by: Evil Monkey | last post Jul 20 '05 by: Michael Winter
When using the document.write command to dynamically cretae a new html page .. how should I use the "" charcters. e.g. for font size="2" As the attributes appear within " "for the purposes of the documnet.write bit ...it just gives me errors.? many thanks
3
383
thread by: mr_burns | last post Jul 23 '05 by: Michael Winter
hi, i was wondering if anybody could tell me when a function is called and variables are defined within that function, are the variables global where i can call and modify the variables in other functions. for example:
1
383
thread by: Medical Watch | last post Jul 23 '05 by: Grant Wagner
Can anyone help me on this: I want to be able to open my paypal "view shopping cart" window with. window.open(url, cartid,window attrb) but it gets blocked by the popup blockers. window size is 740X400. is there any way to avoid popup blocker? or do i need to open the full screen size window with form.post. Thanks
10
383
thread by: FAQ server | last post Mar 29 '07 by: Dr J R Stockton
----------------------------------------------------------------------- FAQ Topic - Which newsgroups deal with javascript? ----------------------------------------------------------------------- The official Usenet newsgroup dealing with javascript is comp.lang.javascript. There are other newsgroups but many of them are not carried by most...
3
384
thread by: Dennis M. Marks | last post Jul 20 '05 by: Richard Cornford
Why can't all browser companies agree on a "single function" to return the browser, version, and platform? It that too much to ask. -- Dennis M. Marks http://www.dcs-chico.com/~denmarks/ Replace domain.invalid with dcsi.net -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
1
384
thread by: dhtml | last post Oct 20 '08 by: Erwin Moller
Laser Lips wrote: You can report abuse to google groups: http://groups.google.com/support/bin/answer.py?answer=46453&topic=9246 http://groups-beta.google.com/support/bin/answer.py?answer=81275 Garrett --
1
386
thread by: webdeveloper | last post Feb 5 '07 by: RobG
An onclick event that activates two functions: one that expands a menu, another that swaps an image in the same menu hierarchy; in FF, only one click is required to both swap the image and expand the menu, as is intended. But in IE(6X) one click is required for swapping the image, and a second click to expand the menu. And in IE, on all...
9
387
thread by: i | last post May 30 '07 by: dd
what is scripting language?We can create websites by using HTML. But we are using scripting language with HTML to create forms and websites.Advantage of using scripting language instead of HTML?
4
388
thread by: FAQ server | last post Dec 14 '06 by: Randy Webb
----------------------------------------------------------------------- FAQ Topic - How can I access the client-side filesystem? ----------------------------------------------------------------------- Security means that by default you can't. In a more restricted enviroment, there are options. For example, using LiveConnect to connect to...
1
389
thread by: Creegan | last post Jul 23 '05 by: Elus
Below I have a snippet of code for creating a cookie, but am having a problem assigning data to it. I pass in values to the function which I know are valid, then I assign this info to the cookie using document.cookie. But when I try to view the cookie using the alert function, the cookie is empty. Any ideas why this might be the case? ...

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.