473,804 Members | 3,018 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.
8
4,409
thread by: Harati | last post Apr 1 '08 by: acoder
I prepared my own player using php For this ,i want code for play(),pause(),stop(). I tried a lot with player.controls.play() but no use
1
1,398
thread by: technosavvy | last post Apr 1 '08 by: acoder
ECMAv262 (in section 7.6) says: A token is identified as an identifier if it consists of some combination of '$', '_', Unicode Letter ,Unicode Escape sequence and Unicode Digit..(i know this is not the complete and exact statement..I just want to talk about Unicode Letter right now) Now, the Unicode Letter contains Uppercase, Lowercase,...
5
1,454
thread by: gyip | last post Apr 1 '08 by: acoder
My environment: IE7 browser hitting an ASP.NET webpage that uses Javascript to render the contents. This is not an ASP.NET problem but a Javascript problem that I am encountering. Problem: I am basically generating a menu which is essentially a TABLE within a DIV tag using Javascript. For some reason the table is not displaying. The...
1
3,753
thread by: Wolfman | last post Apr 1 '08 by: cameokid
Hi gang! I've been searching for a solution to this problem extensively but nothing really hits the mark. I have a descriptive popup page that contains a PayPal order button. The normal PayPal form fields allow for the item description, fee, etc. I'd like the fee field to be variable based upon which hyperlink launched the popup. So,...
2
1,065
thread by: ss0007 | last post Apr 1 '08 by: ss0007
Hi everyone , I was testing the following piece of code and unable to proceed because the click() method is not invoked for the button's onclick event. The same function works fine in the onload of the body tag. Moreover the code doesnt work in IE,Opera,Firefox. There are only four lines and simple HTML statements but I am unable to find a...
2
1,390
thread by: dasrasmikant | last post Apr 1 '08 by: dasrasmikant
Hello, I want to print the HTML source code in that page by clicking on a button. So can it possible???
2
1,352
thread by: matt9807 | last post Apr 1 '08 by: Logician
The following is a script that I have written that preloads images for an image gallery. The problem is that the images only preload in Safari, other browsers load each image when it is called. Any ideas? imgSeries = new Array(); curImg = ''; function loadkill() { document.getElementById('loadingtxt').style.display = "none";...
4
1,510
thread by: Jonathan Fine | last post Mar 31 '08 by: Thomas 'PointedEars' Lahn
Hello I want to provide a mini-help system on a web page, to help the user when s/he is filling in a form. I thought I'd hold the help data in JSON format, and translate it to HTML via JavaScript in response to user actions. So I'm wanting to translate suitable JSON into HTML elements. I've looked around a bit and not found anything...
3
1,714
thread by: MitchellEr | last post Mar 31 '08 by: mmurph211
Hi, I am in the process of creating several forms where a group of elements on the form need to be created dynamically. For example, in the case of one of the forms, I have a drop down for school, a text box for degree, and a text box for concentration. The form shows 3 of these groupings by default but would like the user to be able to...
2
1,252
thread by: gsreenathreddy | last post Mar 31 '08 by: gits
hi! I would like to remove the browser history using javascript.
2
2,511
thread by: pinson.nick | last post Mar 31 '08 by: pinson.jenny
I've been playing around with dynamic tables for the last couple days and have run into some interesting issues. I know how to work around this issue, but was wondering if anyone had any insight as to why it's happening in the first place: I create table row and cell elements using a JS node creator and append them to the table element....
12
2,169
thread by: jim | last post Mar 31 '08 by: Logos
I am new to web programming with javascript and I was wondering if javascript is the only scripting language that run in browsers like Firefox, IE and Opera or are there others? The scripting that I am refering to is scripting that will show in the user's browser when you "view source" - not scripting languages that run on the server. ...
5
4,660
thread by: studentofknowledge | last post Mar 31 '08 by: acoder
hi guys im new to javascript and need some guidence please.. im trying to display a 400x400 pixel coloured area in the middle of a webpage that stays in the middle with a browser window resize. Within the area, i would like to display an image and some text, overriding a few words with an inline style. i would like the image to change...
21
16,925
thread by: kiran83 | last post Mar 31 '08 by: acoder
My Text box can accept all types of data like alphabets,numeric,special characters ... Should give an error message 'if space is not a valid value ' when i am clicking a button... in asp.net with c# through javascript.(javascript validation after clicking a button).
3
1,472
thread by: andrej.kaurin | last post Mar 31 '08 by: George Maicovschi
I need to put all body content into wrapper when page is loaded. Via javascript of course. Initial DOM <body> <div> <p>Some text</p> <p>More text</p> </div>
11
1,950
thread by: Noorain | last post Mar 31 '08 by: gits
Sir I face a problem.please help me. my problem is i have to insert phone no. or a/c id in same field. i have to use two text box. one for phone no. another for a/c id. if i enter phone no. then a/c id disable. no input accept in a/c id textbox. same as phone no., when i entry a/c id then no phone no. entry allowed. On time only one entry...
1
2,105
thread by: m9817232 | last post Mar 31 '08 by: gits
I applied the code as mentioned in: http://javascript.about.com/library/bllang.htm so when a Dutch-speaking visitor (nl being the ISO-code for Dutch language) visits my site, he should automaticly be redirected to the index-nl.htm page but what it returns is: www.mywebsite-nl.com instead of:
8
1,666
thread by: questionit | last post Mar 31 '08 by: hsriat
Hi I need to make a file (an .html file) to be placed on my Desktop. When clicked, my desired URL will open in internet browser. How can i do it with javascript or if it can be done by just using html - it would be easier? Awaiting your responce Thanks Qi
2
1,874
adelemb
thread by: adelemb | last post Mar 31 '08 by: adelemb
Hi, I have a bit of JavaScript for a Tell a Friend link. The person enters an email into a box clicks submit and their email programme opens a new mail with the URL from the referring page. My problem is that while some bits of the URL need replacing to make it work, others need to be left as they are. The title for the pages are in the URL...
1
1,340
thread by: srinuvasteegala | last post Mar 31 '08 by: gits
i wrote a javascript for displaying textboxes when i enter a number in a texbox. now i want to insert some data in those textboxes and save the data in backend and display the same in a grid
5
3,592
thread by: zeroblade | last post Mar 31 '08 by: malav123
For a textbox I want the user to only enter in a number from 1 to 10(including numbers like 4.5 and 6.6 and so forth). How would I do this?
3
2,373
thread by: karprix | last post Mar 31 '08 by: malav123
Hi, I am working on a webapplication,( with Ajax & JSF) where I want to retrieve the value present in a <t:inputText id="starttimeScheduler" value="#{scheduledJobCreateEdit.startTimeDate}" style="width:165px; margin-left: 25px;" forceId="true" tabindex="112"> by using document.getElementById("starttimeScheduler") in my javascript function. but...
20
9,114
thread by: vjayis | last post Mar 31 '08 by: acoder
hi when i m trying to fetch data from one page to another page using ajax, i get an error message in IE., but it runs well in firefox., could anyone help me., here is my javascript code., <script type="text/javascript"> var id; var action; function httprequest(id,action) {
17
4,721
thread by: radhikams | last post Mar 31 '08 by: acoder
Hi I want to create a drag drop tool box using javascript... Can anyone please guide me in this regard Thanks
11
1,565
thread by: hkma08 | last post Mar 31 '08 by: acoder
For certain reason, I need to check the validity of a form when submit with many data with shared name. The form looks like this: <form id="upload_form" name="upload_form" onsubmit="return uploadCheckValid2()"> <table> <tr> <td>xxx</td> </tr> <tr> <td> <input type="text" name="title" value="10" />

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.