473,804 Members | 3,225 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
3,372
thread by: Nitu Kumar Patra | last post May 3 '08 by: acoder
I want to get the value of the to ,cc, bcc fields of hotmail in netscape browser using getElementsByName("to").value. But it is not working. How to retrieve these values can anyone tell me? Thanks
1
2,039
thread by: bencito | last post May 3 '08 by: acoder
Hi! I am using prototype and scriptaculous to develop a CMS system. I got stuck a little with the following. I have an article in one <div> opened up for editing. When it is saved, I want the SQL database to be updated with the edited HTML and another <div> (where I have the articles listed) updated with the new title of the article. I read...
1
1,877
thread by: gconrads | last post May 3 '08 by: acoder
Appreciate any advice: I'm working on a small script to swap out an image using javascript, this is my first attempt at using javascript. My method works fine in Firefox, but not in Safari. Documentation for Safari is a bit thin, so I thoughtt maybe someone here might recognize the issue quickly. I'm using two methods to apply the image...
10
3,005
thread by: lxfc97 | last post May 3 '08 by: acoder
Hi, I'm trying to use the DOM to insert a TABLE into a DIV tag. Can anyone tell me what I'm doing wrong here? The code looks straightforward, but it is not working. Thanks, Dave
1
6,731
thread by: Snorky | last post May 3 '08 by: acoder
I think I'm close (but no banana).. I have any number of DIV's which I wish to toggle on and off in a web page. I am using <a href="javascript:onclick=showhide('div1');">1. Are you using a monitor?</a><div id="div1" style="display: none;"> If so, are your eyes in line with .. blah ect <a...
1
1,751
thread by: gaurkamal | last post May 3 '08 by: acoder
I have a problem in checking whether the cookie have been created or not. How can i check whether cookie has been created or not in Vb script or in javascript.
2
1,120
thread by: SSG001 | last post May 3 '08 by: acoder
Ii'm fetching names from the table and storing it in the option_vals array and in the names are like below product 1*10's xyz product 1/10 abc product 0.5nos hah i get error fot this is it because f the characters in the names of the product i'm creating this selct box from ajax select_opt = new Array();
1
2,480
thread by: arggg | last post May 3 '08 by: acoder
I'm trying to get the Div ID that the mouse was clicked in so that if it was not clicked in id ('divContext') then it will hide ('divContext'). What I have right now works perfect in FF but not in IE. The div will not go away even when a link is clicked. //see if the focus has been taken off of the div and if so hide it. function...
1
1,356
thread by: sva0008 | last post May 3 '08 by: gits
from a parent window im using this code to open a popup: OpenWin = dhtmlwindow.open("CarrListPopUp", "iframe", "CarrListPopUp.asp?origin=<%=request.servervariables("URL")%>&carrname=" + escape(field) + "&sType=" + escape(cType) + "&new=1", '::: Carrier List :::', 'width=850px,height=400px,left=10px,top=30px,resize=0,scrolling=1'); now i have...
2
1,043
Claus Mygind
thread by: Claus Mygind | last post May 2 '08 by: Claus Mygind
Is is possible for a sub-window to call a js function loaded in the window which opened the sub-window?
1
1,461
thread by: upinz | last post May 2 '08 by: acoder
can ajax(or javascript) to fetch a web page, then re-show it to our web page ? coz i want to show an information from a web page to my blog (at blogger.com, which only allow us using javascript) automatically. thanks,
1
5,227
thread by: fci_is | last post May 2 '08 by: acoder
hi i make this code in HTML page <script language=javascript> function LoadObject() { var wdApp = new ActiveXObject("InternetExplorer.Application"); wdApp.visible=true; wdApp.navigate("http://www.google.com");
5
1,246
thread by: gigaturn | last post May 2 '08 by: ronverdonk
Hi All, I am web designer, just completed one project. But, it is some issue with IE7. Here is link, www.gigaturn.com Now just click on request a quote link on top, see how this is showing blank in IE7 and it working fine with other browsers/OS.
2
10,143
thread by: activeashish | last post May 2 '08 by: acoder
I want display images from local machine for which i am already having the location.Or using file tag.Is it possible to preview the image bbefore uploading them.when i tgry to give using <img src="c:/abc.jpeg"> it doesnt work as html file is on server and try to find this file there on server which is not there.Its on local machine. If any one...
7
2,312
thread by: Mike1961 | last post May 2 '08 by: acoder
Hello. I have this Regular Expression for validate email address in my form: var re = new RegExp("^*\\.*(\-WEDNES)?@Names\\.com$", "i"); Why invalid this email address ??? : mark.d'ausilio-WEDNES@Names.com
11
3,657
thread by: SSG001 | last post May 2 '08 by: acoder
i have a form and in that i iframe in the main form <form name='form1> <iframe name="frame1" id="iframe1" src="iframe1.php" scrolling="yes" width="300%" frameborder="0" height="300"></iframe> <input type="button" name="save" onclick="save();"> </form> function save(){ window.frames.document.forms.add.click(); document.form1.submit();
4
2,696
thread by: miraan | last post May 2 '08 by: dlite922
Hi, I am getting a javascript error but my page works perfectly fine and nothing is wrong, how do i hide the javascript error pop up window that appears when you visit the web page?
16
1,705
tpgames
thread by: tpgames | last post May 1 '08 by: acoder
<a href="javascript:selectLetter('A')" + document.body.aLink;" >A</a> | <a href="javascript:selectLetter('B')" + document.body.aLink;>B</a> I've read the JS Bible, JS for the WWW, and Visual JS and have not found the answer to what I'm trying to do. I need the link to access the CSS sheet so that after the link is pressed, it will turn red...
2
5,835
thread by: sagel | last post May 1 '08 by: mrhoo
im trying to iterate thru form elements and pull out the ones with "note" in their name. getting "elementName has no properties" with the following code, and i don't understand why? any help is greatly appreciated. thx! Code: function saveNotes(){ var elementName=''; var isNote=''; for(i=0; i<document.formNotes.elements.length; i++){...
1
2,886
thread by: jay_dev | last post May 1 '08 by: acoder
hi all, im using ajax to replace a dropdown list through a server side script in mozilla it works pretty fine but in IE i get the stupid R0625 error and who knows what it is i tried to tweak the code but nothing, IE crashes and my whole application fails im using IE6 help anyone!!
1
6,752
thread by: muskaran | last post May 1 '08 by: acoder
I am facing 'Cross Domain Security' within Frame.Its the 'Same Origin Policy ' issue. I have a frame which adjusts its height according to the height of the document.This works fine for all types of document. However if the document from different domain is loaded in the frame the code fails to calculate the height or access any property...
1
2,014
thread by: umamy | last post May 1 '08 by: acoder
Hi, I am writing code to do the followin: - user clicks a link - the page reloads and sets a cookie with a js function in the header. The function reloads the same page with the cookie set and points it to an anchor My problem is that after the page loads with the anchor, it also reloads again without the anchor because of the href="some...
7
4,515
thread by: dasrasmikant | last post May 1 '08 by: acoder
Dear Experts, I am falling in a trouble and need your help for solving it I want to get the width and heignt of an image before uploading it. Below is my code <script language="javascript"> function showImage(i) { x=new Image; x.src=i;
5
5,562
thread by: tader | last post May 1 '08 by: acoder
Hi, so i got script like that var div_box = document.createElement("div"); div_box.setAttribute("id", "music_box"); div_box.style.top = (Number(cords) - 10) + "px"; div_box.style.left = (Number(cords) - 10) + "px"; document.body.appendChild(div_box);
5
1,991
BlueChrome
thread by: BlueChrome | last post Apr 30 '08 by: acoder
I am doing some basic sums in PDF Forms using Javascript and XML. The form is 4 pages long, and I can't get the sum fields on page 4 to reference cells on page 1. Here is one of my sum scripts: <calculate> <script contentType="application/x-javascript">this.rawValue = II_TOTAL_REV_c.rawValue + II_6_c.rawValue + II_7_c.rawValue +...

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.