473,796 Members | 2,640 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.
2
10,333
hsriat
thread by: hsriat | last post Feb 16 '08 by: acoder
Is there any function in JS similar to array_search() of PHP which returns the key that contains the particular value, passed as argument. Or I need to make it myself?
3
3,146
thread by: helraizer1 | last post Feb 16 '08 by: acoder
I have this code in JS function show_player() { document.mediaplayer1.style.visibility = "visible"; } function content(p, clip) { var mus = document.getElementById('music'); mus.style.visibility = "visible";
1
3,319
thread by: Adrock952 | last post Feb 16 '08 by: acoder
I have a link on my site which obviously says "Login" where users log in. I would like that link to be changed to "Logout" when the user has successfully logged in and the session has been created and when the user logs out, i would like the link changed back to "Login" without having to refresh the page. here is my login page <?php if...
2
927
thread by: karaofra1 | last post Feb 16 '08 by: acoder
Can someone provide me with information for using AJAX as a fresh learner and a sample of working project using it, and the codes used?
4
1,404
thread by: Msleh08 | last post Feb 16 '08 by: acoder
Hello. I created this program that highlights each line of text as the user scrolls up and down using arrow keys. Only problem is when the users scrolls down and up the page scrolls too fast to see the highligted line. Would I have to use a Screen Object to stop this problem. Thanks in advance for your help.
17
2,839
thread by: cranger01 | last post Feb 16 '08 by: acoder
Hi all. I have posted this question in several places and read hundreds of posts on the subject, yet I can not seem to find my solution. Problem is how my screen is functioning between IE 6 and IE 7 on a Windows 2000 server. It seems that not only are my javascript events firing in different order, but my IE 7 page freezes after selecting an...
2
3,647
thread by: Abneo | last post Feb 16 '08 by: acoder
Hi all, I am very new to Javascript and I am in some need of some help. I am creating a site that has a madlib. I got the madlib code but now I want the results of the madlib to display in another frame. The user input will be in one from and the output should be in seperate frame. I have written the code for the madlib but when I hit the...
5
2,417
oll3i
thread by: oll3i | last post Feb 16 '08 by: acoder
why when i try to make the string(unordered list) to be in a div it apears beside the div function makeUnorderedList(txt){ var tempText=""; var splitResult = txt.split('\n'); var offer=document.getElementById("editor_displaying_text").innerHTML; offer=offer.replace(txt,""); for(i = 0; i < splitResult.length; i++){
1
1,971
stepterr
thread by: stepterr | last post Feb 16 '08 by: acoder
Hi All, Does anyone know if it is possible to detect if a user has SSL enabled in their browser? I have a login page that is https but if the user does not have SSL enabled it of course just gives them a page cannot be displayed message. What I would like to do is verify that they have it enabled, if they do not, then send them to another page...
1
1,331
thread by: anuraag1070 | last post Feb 16 '08 by: acoder
Hey can anyone help me in, for getting the save dialog box when we want to save a frame thank you for helping me out, anuraag
1
6,338
AMT India
thread by: AMT India | last post Feb 16 '08 by: acoder
Hi, I have a number of text boxes with tab index. I want to go through these text boxes on key press. So how can I proceed to next tab indexed element using js? Thanx in advance, AMT
1
1,101
thread by: anupendra | last post Feb 16 '08 by: acoder
how to conctevite a javascript text and MS access
2
4,026
thread by: Andrew Poulos | last post Feb 15 '08 by: Dr J R Stockton
If I check for a invalid date e.g. February 30th, 2008? Andrew Poulos
5
1,445
thread by: nocturnal428 | last post Feb 15 '08 by: acoder
I am creating many xml files. I want each one to be shown in an xsl type sheet but my problem is that I would like to have a next button so that I can look at the next xml sheet. I have seen a few things that have said you can do this with javascript but I am unsure. The example would be these xml files in a folder xml_file001 xml_file002...
19
2,301
thread by: viki1967 | last post Feb 15 '08 by: acoder
Hi there. Hi have this script: <script language="javascript" type="text/javascript"> <!-- var fieldNames = new Array("IRE", "ISI", "IMI", "REL", "REV", "MAN", "SOP", "GUF", "FOR", "VAS"); function loaded()
9
2,338
thread by: abhishekbrave | last post Feb 15 '08 by: acoder
Hi, I want to display a calender with all the dates as hperlink in a html page, so can it be done with the help of java script or do i need to go for some other technology , any pointers in this regard will be very helpful
1
1,357
thread by: clivethebadger | last post Feb 15 '08 by: mrhoo
Hi, I've got HTML elements created in JavaScript and have appended them to parent node. How do I add some text in between them in the parent node? I need to do something like this.... parent.appendChild(child1); //add the text " | " in between... parent.appendChild(child2); So I've got two elements separated by " | ".
1
1,771
thread by: vkosuru | last post Feb 15 '08 by: ronverdonk
hi ppl, I've got a problem. I am trying to show my output in a speedometer background image. I've a pointer(foreground image) which i need to rotate on the speedometer depending on the value i get( say 20 ). The speedometer is of 180 degrees. I need a code snippet to do this. In general the calculation gives result from 5 - 40. The range on...
1
1,703
thread by: slinky | last post Feb 15 '08 by: Bart Van der Donck
Thanks in advance for for any clues: I have a website I'm building using MS-Visual Web Developer Express Asp.Net/VB.net). I'm tooling it to collect names and emails to send out our newsletter. I'm hoping to find some Javascript that will iterate through my XML file and send abtout 100 emails out automatically to those wanting my newsletter....
6
4,043
thread by: clivethebadger | last post Feb 15 '08 by: acoder
Hi, I've got javascript code which uses a basic logical statement to determine whether a checkbox or radio button should be set to checked: radio.checked = (map.getLayer(divId) == map.baseLayer); Firefox has no trouble with this, but IE6 doesn't check anything! Any idea why this might be? Cheers,
3
3,018
thread by: clivethebadger | last post Feb 15 '08 by: acoder
Hi, I'm constructing some HTML elements dynamically using javascript, the result looks fine in Firefox but IE 6 refuses to show some tables I've got inside Divs. My code is a bit big so I'll only post the bit in question. Indentation is just for keeping track of where each tag is. Why does IE behave this way? Cheers, Jon
1
1,613
aryanraj
thread by: aryanraj | last post Feb 15 '08 by: gits
Aryan Hi Everybody, I want to read the text file contents line by line and place the contents into a textarea, using the java script, is there any way to do it. Thanks in Advance, Aryan.
1
1,085
thread by: kashhere | last post Feb 15 '08 by: acoder
Hi every one, I need help from u people my problem is i have phone number field i need the perfect script for that field that field should enter only valid phone numbers i mean if we enter digits which are not in the series of phone numbers then it should display the error message can any one please suggest me towards the solution?
1
2,951
thread by: hikumar | last post Feb 15 '08 by: acoder
Hi Guys, I want a javascript function which shows Public Shared Calendar(opens a window) when I click a link from the webpage. Please help me. Ex. /Public Folders/All Public Folders/Photography Thanks in Advance. I have following VBScript working fine on PC but, not on MAC that is why I am looking for Javascript Please help me.
4
2,039
oll3i
thread by: oll3i | last post Feb 15 '08 by: gits
How do I remove a part of a string? Thank You

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.