473,796 Members | 2,599 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
1,388
thread by: Mtek | last post Apr 11 '08 by: blechler
Hi, I know there are lots of pages on this, but why can't I find something simple? I have an image on my page. All I want is when the mouse rolls over the image, an image will appear next to it, and disappear when the mouse moves away. I do not want to use HREF because it is only an image, not a link. I
1
2,429
thread by: adamjblakey | last post Apr 11 '08 by: acoder
Hi, At the moment i have a country and region ajax list so depending on which country you select the region field will auto fill. Now this is the code that makes this work: JS var AdminResponse = ""; function parseResponse(){
3
1,172
thread by: Amzul | last post Apr 11 '08 by: acoder
hello all, i have a form with 6 elemnt: <label><input type="radio" name="name_b" value="120x60" checked="checked"/>120x60</label><!-- #1 --> <input type="radio" name="name_b" value="468x60" />468x60</label><!--#2--> <input type="text" size="6" id="wx" name="wx" value="200" checked="checked"/><!--#3 notice the checked="checked" i add -->...
2
1,010
thread by: tuananh87vn | last post Apr 11 '08 by: acoder
I now want to try my self in one of the application of ajax, that's electronic map. Because I'm totally a beginner to this technology so I really need someone as expert here to guide me. Anybody here can give idea to help me develop the map. So, where should I start?
1
1,888
thread by: piyush1414 | last post Apr 11 '08 by: theS70RM
Dow can I access Hard Drive Smart information through JavaScript...
9
2,079
thread by: TechnoAtif | last post Apr 11 '08 by: acoder
<form name=frm action="" method="post"> <table> <tr><td><select name=combo> <option>1</option> <option>2</option> <option>3</option> <option>4</option> </select> <td><input type="text" name=tb1 value=""></td> <td><input type="text" name=tb2 value=""></td>
1
2,106
thread by: thulaseeram | last post Apr 11 '08 by: mrhoo
Hi to All, I am using general javascript function isNAN to validate whether entered input is number or not it is doing ok. But it should take space in between code number and phone number. for Example: now it it is taking 078245378 (not allowing spaces, This is existing validation) but it...
5
1,548
thread by: tuananh87vn | last post Apr 11 '08 by: acoder
hi, i want to use ajax to validate a form. here is my work including 2 files, main.html and process.php main.html <script language="javascript"> //initialize xmlhttprequest object... var request=false; try { request=new XMLHttpRequest();//for FF & IE 7
7
1,342
onlymars
thread by: onlymars | last post Apr 11 '08 by: acoder
here the code of a currency convertor i am using in my page which is not working in firefox but works in internet explorer. <script language="javascript" type="text/javascript"> function convert() { var to, from; var to_rate, from_rate; var quantity, result; var temp;
3
9,121
thread by: adbo_atoz | last post Apr 11 '08 by: gits
Hello All I am trying to duplicate this code which works in IE to work in Firefox <SCRIPT LANGUAGE="javascript"> function submitOnEnterKey() { if(event.keyCode == 13) { event.returnValue = false; } else { event.cancelBubble = true
2
2,489
Vini171285
thread by: Vini171285 | last post Apr 11 '08 by: kunal pawar
Hi friends, how to give focus on list box using javascript in ASP.... actually i could give focus on the list box...but after clicking the alert button,it focuses on the list box,,,and before doing any change it immediately passes to the next page... Please guide me to avoid this problem...!! Thanx in Advance!!
3
3,777
thread by: dasrasmikant | last post Apr 11 '08 by: acoder
Hello everybody, I want to print the all the code written between <style></style> element on click a button. Is it possible?? if yes can any body guide me regarding. thanks for your responses in advance.
2
1,754
thread by: Sebastian Morawietz | last post Apr 11 '08 by: RobG
Hi, given this code: function test() { ({ call: function(fn) { fn(); },
2
2,011
thread by: chathuram | last post Apr 11 '08 by: chathuram
Hi, I am new to Javascript and HTML. I wrote some codes in html and Javascript to display a scrollbar using a <div> tag as follows. <div id="id1" onmouseup="callMe()" style="width:250px;height:30px;overflow:scroll"> <strong>hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh</strong> </div> but...
1
1,162
thread by: FAQ server | last post Apr 11 '08 by: dhtml
----------------------------------------------------------------------- FAQ Topic - Internationalization and Multinationalization in javascript. ----------------------------------------------------------------------- Internationalisation means using one form which is everywhere both acceptable and understood. Any international standard not...
1
1,453
thread by: galactic | last post Apr 10 '08 by: pr
Is there a limitation in using javascript and xpath with capitalized nodes? The xpath doesn't want to recognize the capitalization of the nodes when using firefox. There is no problem with explorer. Also opera and safari completely ignore my xpath request using evaluate... is this normal?
1
2,197
thread by: venkateshkumar | last post Apr 10 '08 by: pronerd
I have used rich text editor for Content management system.In this editor, have a InsertImage icon.We click that, select images from galley and insert the image.In firefox, it's simply placed in Editor. But IE it's placed in top of the page. Used code: function rteInsertHTML(html) { if (document.all) { var oRng =...
1
1,412
thread by: bluedolphin | last post Apr 10 '08 by: CK
I am trying to use javascript to detect the size of a image, so that I could show it in proper size. Such as I have a space which is 32 X 32, and the image size is 256 * 128, then I could shrink the image to 32 X 16, with the same look and feel. Sometime I would also like to truncate a image, only show portion of the image using javascript.
3
1,270
thread by: asaaki | last post Apr 10 '08 by: acoder
Hey, I'm generating on-the-fly reports, and each report is displayed with a link "Export to excel". Every time this link is clicked, I use Ajax to export the data in the report's table and save it as a file (report.xls), then I use window.location = "report.xls" to force the user to open or save the report in excel format. The report that's...
3
1,599
bugboy
thread by: bugboy | last post Apr 10 '08 by: acoder
Hi I'm using an <input type="submit"> to send variables to a js page when clicked. The code bellow allows me to send 3 variables to the js page.. is there a way to add more variables the the tag that will be passed along? Or can i have it send along a <input type="hidden" value="var4"> tag like a normal form? Thanks Bug Boy <input...
3
3,051
thread by: killbill123 | last post Apr 10 '08 by: acoder
Hi, I want to count the mouse wheel rotations in javascript. I searched on google and only found that how to track delta -1 and +1 base on the up mouse wheel and down mouse wheel. I want how can i correctly count the wheel rotation in one mouse wheel or how to count wheel rotation. Need help please urgently.........??
2
2,557
thread by: kim | last post Apr 10 '08 by: kim
Hi there is it possible to make a link on a webpage - that users can click on And then get/download a direct shortcut to a this website ?? Like: <a href="javascript:window.external.AddDesktopComponent(location.href, 'website');">Add to Desktop</a>
2
3,460
thread by: tomwilliams | last post Apr 10 '08 by: tomwilliams
Hi I have created a website which has a number of buttons on it which allow users to add items to there basket, they then click on an AJAX watermarked textbox to set focus before using a keyboard wedge scanner to scan there staff ID card, this causes a postback and validates the user - all works perfectly. My problem is caused if the user...
1
3,235
thread by: Saravanan | last post Apr 10 '08 by: acoder
I need to read in a text file as strings and then write some of these strings into another text file. The output file is in the working directory while the input text file is not. how can I implement... saran
2
2,468
thread by: davidson1 | last post Apr 10 '08 by: acoder
Hai friends..for menu to use in my website..i found in one website....pl look below website.... http://www.dynamicdrive.com/dynamicindex1/omnislide/index.htm i downloaded 2 files.... menuitems.js mmenu.js

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.