473,609 Members | 1,868 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.
1
1,378
thread by: Joe Kelsey | last post Jul 20 '05 by: Richard Cornford
When defining public methods, which style do you prefer: style 1: function myObject (...) { this.member = 0; } myObject.prototype.method = function ()
1
1,567
thread by: Mark R. | last post Jul 20 '05 by: %yourname%
Hello, I need some help from the experts in the internet. I just found a great site, www.superprodesign.com This site has everything (scripts, tips, HTML, CSS, clipart) and all for free. I NEED to find another site like this one. Can anyone tell me about it? Thanks Mark ---
3
3,739
thread by: Jeroen van vliet | last post Jul 20 '05 by: Jeff North
Hello, my website is best viewed, and specially designed for 1024 X 786 and higher, when shown on 800 X 600 it look horrible, now is it possible when the viewer enters my site, his/her resolution will be changed automatically to 1024 X 768? Jeroen
4
7,147
thread by: Robert Guildner | last post Jul 20 '05 by: Robert Guildner
I am new to JavaScript and I am building a Web page in which I want to use a navigational/informational feature that I have seen called bread crumbs. It looks like: home>>one level>>next level>the page you are on Often I see it with different colors for the history and the current page. I would appreciate any help. Thanks!
7
9,673
thread by: Andy Fish | last post Jul 20 '05 by: Andy Fish
Hi, I'm trying to figure out how to invoke a method on an object given the object and the method name. For example, here's a simple object with a method: function MyObj (pName, pDesc) { this.name = pName; this.desc = pDesc; MyObj.prototype.foo = function() {
1
3,555
thread by: Girish Pal Singh | last post Jul 20 '05 by: David Dorward
Iw ant to disable the back button and the cache functionality of Internet Explorer, How do I, do it? Thank You.
5
2,805
thread by: Andy Fish | last post Jul 20 '05 by: Andy Fish
Hi, Can someone explain why this works: for (i=0; i<document.form1.radiogroup.length; i++) { var myRadio = document.form1.radiogroup; } but this does not:
1
2,681
thread by: RoDzZzZ | last post Jul 20 '05 by: cwdjr
when i try print (ctrl +p) my webpage, my printer not print the backgrounds and bgcolors of my tables.... what i need make to show the backgrounds and bgcolors in my paper when the user print the page? thankzzz
1
2,291
thread by: JohnS | last post Jul 20 '05 by: Lasse Reichstein Nielsen
I have included in my html code (SRC) a file that I want Javascript to ignore, but PHP to execute (if parsed by PHP) the js function is: function justphp(f) { $test="<?php die(); ?>"; return; } In javascript the variable $test is just a string and will never be used,
1
1,328
thread by: Mike | last post Jul 20 '05 by: Lee
I'm having a problem with one on my page - http://www.angelfire.com/il/1redyns/jumpbox.html All the menus on the page work, the last one on the page can't even be seen though. It's code is there on the page though. I cut and pasted the code, it's the same code as the rest on that page. If anyone can help, please do. It's driving me...
1
1,842
thread by: Sol | last post Jul 20 '05 by: Sol
i have a web page with alot of checking on user input (if value is numeric,empty...)and i used to have an alert after each field was changed,which was of course quite annoying.So instead i now have a message area(div) where i display all the messages.The problem is if the user is not looking they won't know that there is a new message.Is...
1
1,571
thread by: Jim Cant | last post Jul 20 '05 by: Erhard Schwenk
Can anyone recommend a command line XHTML parser. I want something I can use in automated builds, not something with a web or GUI interface. dealing with JavaScript would be helpful; dealing with Java Server pages (with embedded Java code) would be optimal. I've tried 'tidy' but its output is cryptic. Thanks in advance, jim cant
3
4,267
thread by: Simon | last post Jul 20 '05 by: Charles Banas
Hi, I have a webapp that allows an HTML description for an object to be saved. It used to be pure text with no formatting. This caused problems if the user entered (for example) and iframe tag, etc.. I rewrote the input form to use MSHTML and updates a hidden input with the inner HTML of the IFrame when the iframe generates an onblur...
3
2,082
thread by: andy johnson | last post Jul 20 '05 by: Jim Ley
Hi, I'm validating an html file with this script and have this error message from the validator: Line 101, character 22: <FORM NAME="DropDown"> ^ Error: required attribute ACTION not specified
1
1,870
thread by: Micky Doyle | last post Jul 20 '05 by: Micky Doyle
Hi I have a two frame frameset, one posting a form to the other via a target tag on the form. When the frameset is viewed via HTTPS with the IE security settings set to high, the form value are not sent to the ASP script in the target frame. Any help would be greatly appreciated.
2
16,155
thread by: Joe Kelsey | last post Jul 20 '05 by: Joe Kelsey
I want to create dynamic content and use replaceChild to switch out different subtrees. I start with a span placeholder: <span id="replaceMe"></span> Then I use document.getElementById ("replaceMe") to find the element to replace. I create a subtree using standard DOM: var table = document.createElement ("table"); table.insertRow ();
9
4,866
thread by: shank | last post Jul 20 '05 by: andy
Is there any one "add to favorites" code that will work for IE, NS, AOL, and a host of others? At least some code that will give me an effective "add to favorites" for the highest percentage of users. The code in my searches have been disclaimed has working with this but not that. I'm not sure how old some of this code is either. thanks!
1
3,338
thread by: ripken95 | last post Jul 20 '05 by: Grant Wagner
I connect to the internet through ADSL. I want to write the web page which can detect the connection status with javascript. This detection is like the signal detection in the mobile phone. If the signal is weak, the status may have one squares or zero on the phone. How could I do if I want to detect the status of the network? Thx and Best...
2
5,815
thread by: SpArKy | last post Jul 20 '05 by: DU
For e.g, I have a textarea and I want to get only the selected text (the text I mark with the mouse). Anybody? ThX
4
17,093
thread by: Tim | last post Jul 20 '05 by: Tim
Hope someone in the big wide world can help... What I want to do is have an image slideshow which automatically scrolls through a series of images very fast, then pauses when you move your mouse over the image. The images will flick through (at a rate of about 5 per second) then pause when the user onMouseOver's. Any help would be...
3
2,312
thread by: Alan Clark | last post Jul 20 '05 by: Alan Clark
Dear All I need to do something very simple with Javascript and have been looking all over the web for two days for a suitable script. I'm the kind of person who learns by seeing how it's done. I am a real beginner in programming. I am making a baking recipe site. For each section, say cookies, I will have around 100 recipes, which will...
1
2,279
thread by: Kian | last post Jul 20 '05 by: Greg Griffiths
Hi there, I would to implement a yellow box to contain some description for visitor to browse though a list of choices. Every time a visit clicks on the choice, a yellow text box will appear on the current browser containing some information for them. (NOT a Pop up window.) I don't know how to implement this kind of yellow box. The...
1
4,281
thread by: Rick | last post Jul 20 '05 by: Greg Griffiths
I have a script of rolling images. I would like it so that each time an image changes in cell1 some text in cell2 changes. How can this be done. <html> <head> <title>TITLE</title>
1
4,848
thread by: cschang | last post Jul 20 '05 by: Dr John Stockton
Look for a while on google and an't find one. can anyone help? Thanks. C Chang
17
4,062
thread by: Davide | last post Jul 20 '05 by: Dr John Stockton
Hello to everyone, do you know if it's possible (through a javascript in a HTML page) to intercept when the user press the "." (period) key of the numeric pad and replace it with a comma (italian "decimal point" is "comma" and I'm developing an intranet apllication for an italian customer) Thanks, Davide

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.