473,804 Members | 3,081 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.
3
1,200
thread by: angelinahmaleka | last post Mar 4 '08 by: angelinahmaleka
Hi, I have just joined the forum and I need help with Javascrip dropdown menus. I have written a function which should change the background image of a button when it is clicked: function change(el) { if (el.style.background='url(arrow-up-title2.jpg)'){ el.style.background='url(arrow-down-title2.jpg)' } if...
2
1,716
thread by: vishwaskothari | last post Mar 4 '08 by: hsriat
i have a problem with my program in dragging a div element over another one. when i drag it, it disturbs the position of second element which was located there... i have used javascript code to drag and drop without any library.. so please help me out... thanks
2
1,478
thread by: brian.gaber | last post Mar 4 '08 by: Bart Van der Donck
I have a table inside a form and each row of the table has a similar <SELECT ... statement, only the name and id is different. Here is one example: <select name="status11" onchange="status_OnChange()" id="status11"> <option selected="selected" value="Active">Active</option> <option value="Correction">Correction</option> <option...
3
1,771
thread by: prnts | last post Mar 4 '08 by: prnts
Hello, This example from W3schools does not work with my IE 7.0 (just reinstalled it on an XP SP2 system with all default options, no addons and popup blocker off). I get the new open window but it's blank - no output from the document.write command, which is the main problem I have with my code too. The example below works fine with my...
2
1,564
thread by: Piotr K | last post Mar 3 '08 by: Joost Diepenmaat
Ok, all over the internet people are creating "wrapper" object over XMLHttpRequest rather then prototyping it and I wonder why, are there any drawbacks for this method? I couldn't find much info about it on google.. Thanks for replies
2
1,963
thread by: Alexio | last post Mar 3 '08 by: Alexio
Sample code snippet - <td align="right">Check Amount:&nbsp;</td> (1) <td><input type="text" name="CHK_input_1" size="19"style="text-align:right" onkeyup="calcCB();" onBlur="currency(this); calcCB();" tabindex="26"> (2) <input type="hidden" name="OBKey__53_1" id="kw_check_amount" > For various database reasons, I...
26
3,907
thread by: Jake Barnes | last post Mar 3 '08 by: Laurent vilday
I did a search on the newsgroup comp.lang.javascript. I was searching for "how to play a sound with Javascript". I'm somewhat suprised that the majority of entries are from the 1990s, and there are almost no posts from the last 3 years: ...
1
1,948
thread by: sayid | last post Mar 3 '08 by: rnd me
Hello, I have a problem when altering a DIV-element from another frame. The frameset looks like this: <frameset rows=0,0,* border=0> <frame name=header src=/header.htm scrolling=no noresize="true" frameborder=0> <frame name=border src=/border.htm scrolling=no noresize="true" frameborder=0> <frameset cols=200,* border=0>...
2
1,091
thread by: GeeItsBee | last post Mar 3 '08 by: GeeItsBee
I have an html page in which all positioning is absolute. I want to place the page contents in a div which uses the top:??px plus the height:??px contained in the div with the greatest top:??px to set the height of the contents div. If I retrieve all divs using document.getElementByTagName, how would I sort and obtain the values I am...
3
1,721
thread by: mrrolf | last post Mar 3 '08 by: drhowarddrfine
Hi all! I have some pictures on a page that I'm moving around with javascript. I'm just setting the style.top member. I don't want the image to overflow the parent container if I move it to a 'bad' position. I'm setting the overflow attribute in the style, but I'm still seeing the image go outside of the boundaries. Any idea's what I'm...
11
4,081
thread by: nma | last post Mar 3 '08 by: hsriat
Hi How can I make the anchor link once I do onclick? <td width="<?php echo ($cellwidth); ?>" height="17" bgcolor="#00ff00" onMouseOver="this.style.background ='red'" onMouseOut="this.style.background='#00ff00'" onClick="window.frames.eventsDisplay.location = 'MB2eventlistTimeline.php?movieID=<?php echo $movie->movieID;?>&events=<?php...
2
1,519
thread by: fran7 | last post Mar 3 '08 by: fran7
Hi, I wonder if anyone can see whats going wrong here. I have this line of asp and javascript and it works fine <a onmouseover="doTooltip(event,'<img src=&quot;<%=Server.URLPathEncode(rsCard("largeimage"))%>&quot; border=&quot;0&quot;><div class=&quot;tp2&quot;></div>' )" onmouseout="hideTip()" href="http://<%=rsCard("DefaultHeadline")%>"...
3
1,149
thread by: Nick Marinho | last post Mar 3 '08 by: SAM
Following... I have a roll-call of students to store in mysql database separated by mounth: student Present HalfTime Saturday
12
1,921
thread by: robin1983 | last post Mar 3 '08 by: acoder
hi everyone, i m very new to Ajax, and this is my first program in Ajax. I dont know what is wrong in the script. Please help me to find out the error, The main error is the value that i suppose to pass through url is not passing. thanking you in advance. test.html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> ...
2
9,201
thread by: shanmugamit | last post Mar 3 '08 by: acoder
hi, i want to change mouse pointer to hand symbol over the select button. but i my code not work... c function fnover(id) { document.getElementById("id").style.cursor="hand"; }
5
3,244
sukumar 123
thread by: sukumar 123 | last post Mar 3 '08 by: acoder
How to make an email text box as a readonly using dojo widget?
7
4,236
thread by: deepthi230 | last post Mar 3 '08 by: acoder
how can i convert a javascript string to xml string?
3
7,045
thread by: svsenthilkumar | last post Mar 3 '08 by: acoder
hai , i got an error in javascript, when upload a file in a form, the code is working properly in IE but i got javascript error in Mozilla firefos what is mean by error and how to rectify that. the error is Error: uncaught exception: <script language="javascript">
8
1,637
thread by: rupak | last post Mar 3 '08 by: acoder
Hi! I have been using javascript in HTML Page to write some text in a div, by using document.write(""); which work perfectly in IE Browser, but not in mozilla. Can you please tell me what code should i use so that work in all the Browser.
5
1,996
thread by: anonymousstar | last post Mar 3 '08 by: acoder
Hi all, I am new to these forums and decided to join one (this one) after 5 days of researching to try and solve my problem. I am creating a booking type of calendar. It will be run by an oracle database. From the front end a user will see all the dates that are available (green cells), dates that are pending (orange cells) and dates that...
1
2,508
thread by: Pradip Caulagi | last post Mar 3 '08 by: Pradip Caulagi
Hello! I have the following scenario. When the html page is loaded, it creates an XMLSocket and sends some data over the socket to the server. The server in return sends some xml back. Then XMLSocket calls a javascript function with the data received. However, I have a problem with the data received in IE. In particular, the server...
3
1,873
thread by: daitasri | last post Mar 3 '08 by: gits
Hi I am creating a textbox dynamically on click of a button. I want to apply some styles to that textbox using a CSS file. How can i do that using javascript in a HTML page? The following is the code i am using . var cell2 = row.insertCell(1); var addRowTextNode2 = document.createElement('input'); addRowTextNode2.type = 'text'; ...
1
1,108
thread by: jayman2008 | last post Mar 3 '08 by: acoder
I have an image upload form. I have a link that open a new window that displays all of the pictures currently uploaded. I wan't to put a link in those that will post the text being displayed in the textbox on the page the user clicked the first link on. want to go from template.php -> iview.php (close window and send value) -> template.php
8
1,810
thread by: ramyaraghavan | last post Mar 3 '08 by: acoder
Hi, I ll illustrate my problem with an example. I have a multiple select option for choosing countries of the world.Suppose the options available are India America UK
7
4,876
thread by: moksha | last post Mar 3 '08 by: acoder
Hi, I am new to javascript and i am facing a problem in coding. plz help me out. I am using javascript for dynamically creating a table row which contains text boxes and radio buttons and check box. I am adding two radio buttons once for a row.Now my problem is the radio buttons in all the rows that added dynamically are...

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.