473,795 Members | 2,980 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
2,347
w33nie
thread by: w33nie | last post Apr 6 '08 by: rnd me
I was wondering what I would need to do to make a link, when clicked, download an image with the save as window, instead of just loading the image inside the browser. I don't want to have to right click the link & click save as, and I don't want to have to zip the file. I originally posted this in the HTML section, and was told to post here...
2
1,129
thread by: Michelle R | last post Apr 6 '08 by: Michael Wojcik
How do I tell a user how many clicks it took to solve a puzzle in an alert box? *** Sent via Developersdex http://www.developersdex.com ***
9
1,445
thread by: m9817232 | last post Apr 5 '08 by: m9817232
hello, onmouseover won't work on my website. it's working in a simple html document, but not in the advanced one.. both files (including pictures and css) can be found at: http://depositfiles.com/files/4440764 can anybody help me out? thx in advance!
5
1,311
thread by: Geoff Cox | last post Apr 5 '08 by: Geoff Cox
Hello, I have a page for which downloading into the browser is very slow. I have tried using YSlow and firebug but is there any way in which I can actually see which files are taking a long time to be downloaded? Cheers Geoff
1
4,705
thread by: tllcll | last post Apr 5 '08 by: acoder
Hi, I would like to find out how to handle the following: I retrieve the data from the database by calling javabean and return the data back to the same jsp page and then display those values using html/javascript in the dropdown listbox. how to get the value selected by user (to be used in java - as a condition - for retrieving data...
3
1,672
thread by: deepikashalini | last post Apr 5 '08 by: acoder
Hi, how can i getting the selected option button value and pass to function.reply soon....
5
1,125
thread by: sbettadpur | last post Apr 5 '08 by: gits
hello everybody, In my application i am using three dependant drop down boxes for that one i am using ajax to load the values in dependant drop downs eg A -> first drop down box its loading values directly from database table B -> based on the value selected in first dropdown second will be loading my doing query to database. C-...
1
2,839
vyon13
thread by: vyon13 | last post Apr 5 '08 by: acoder
this is the code that i have copy:i tried to add new function on it,... the function is if the checkbox is unchecked the value inputed by the user will be clear... how to do that.. thanks in advance!!! <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html>
1
1,377
thread by: vvcortazar | last post Apr 5 '08 by: acoder
I'm having a problem with some javascript buttons on firefox and safari, the code that is executed is the following: <tr> <td class="subtitulosAzul"> ESTADO DE CUENTA </td> ...
1
3,249
thread by: joe | last post Apr 5 '08 by: Joost Diepenmaat
I have a div like this: <div id="myDiv" style="width:200; height:200; overflow:scroll;"> How do I manually set the initial vertical scrollbar position? The div has several hundreds of lines of text and I'd like to start at a certain position (not necessaryly text line).
1
1,914
thread by: nimad | last post Apr 5 '08 by: VK
Hello, I would like to modify the content of the location bar (address bar) using JavaScript. Suppose I am at http://localhost/WebTests/TestEvent.aspx The followig line: window.location = "aaa"; changes the content of the address bar to: http://localhost/WebTests/aaa
2
2,601
thread by: laredotornado | last post Apr 4 '08 by: Jeremy J Starcher
Hi, Given select menus named birthMonth, birthDay, and birthYear, how do I check if the user has selected values such that he/she is at least 18 years old? Thanks, - Dave
3
1,125
thread by: wmbrae | last post Apr 4 '08 by: hsriat
i'm a total newbie, been at this for 3 days. The sample below works. It consists of 4 separate htm files. Lauch 01.htm creates 2 frames _L, _R and _R has a link which when pressed will load 03.htm into _L and 03.htm will load 04.htm into _R. When all files are in the same directory it works When 03.htm is stored in a sub-directory...
10
1,457
manuelgk
thread by: manuelgk | last post Apr 4 '08 by: acoder
Hello everybody, yesterday I had a problem with a script that I developed about 2 months ago. The goal of this script is to detect the click events in the links contained in Web pages and, when this happens, the script should modify the URL of the links putting a string of our choice after the original URL. The code of the script is shown...
4
1,935
thread by: Rakhi | last post Apr 4 '08 by: Laurent vilday
hello i want to alter the download settings of mozilla firefox browser using javascript of my application !! wat is happenin in my application is, on calling a method , it make a file ready to be downloaded . and the browser gives the download window ,like.., save file or open file etc.. as we generally see. i want the browser to ask...
9
1,590
thread by: jalley06 | last post Apr 4 '08 by: hsriat
Hi, I have a form on our internal intranet that has a field called Report ID. When the user clicks the print button, this number increments by one. The problem is, the newly incremented number is not stored for the next time the web page is loaded. It defaults back to 111 (which is what I currently have it set to). I'm using Sharepoint...
2
1,494
thread by: sodkgb | last post Apr 4 '08 by: acoder
This is my first time posting to the forum and welcome assistance to fix this javascript: <script language="JavaScript"> <!-- function calculate(what) { what.answer.value =0; for (var i=1,answer=0;i<6;i++) answer += (what.elements.checked)&(what.elements.value-0); what.answer.value = answer; }
1
1,954
thread by: Arodicus | last post Apr 4 '08 by: gits
I have a dynamic class. I would like to be able to attempt to access properties and methods on that class, and if they do not exist, I want the Class to handle the problem in a specific way, rather than throw an exception. Thsi needs to be done internally to the class, not with an external "try" clause. In some languages this is known as a...
7
2,155
Haitashi
thread by: Haitashi | last post Apr 4 '08 by: hsriat
This is in the head: <script language="javascript" type="text/javascript"> function limitText(limitField, limitCount, limitNum) { if (limitField.value.length > limitNum) { limitField.value = limitField.value.substring(0, limitNum); } else { limitCount.value = limitNum - limitField.value.length; } } </script>
6
2,428
thread by: Helmut Giese | last post Apr 4 '08 by: DS
Hello out there, I am new to JS so please bear with me. I am tasked to investigate, whether it is feasible to port one of our applications from Tcl to JS - the idea being to write a program to do the conversion, mapping language constructs from Tcl to equivalent constructs in JS. If we pursue this project I will surely come here more often...
2
1,644
thread by: anbaxter | last post Apr 4 '08 by: acoder
I have a small challenge and you'll have to excuse me because I haven’t touched JS for some time and have gotten a bit rusty. I have an intranet site at work that has roughly 500,000 htm pages (no joke). I have a search engine (zoom) that returns results of the various htm files. The site that I indexed is setup with about 41,600 folders...
14
2,952
mickey0
thread by: mickey0 | last post Apr 4 '08 by: komaruloh
Hello, I'm trying to convert a json object into a javascript object but when I write (in my file .html) the line relative to 'eval' the page doen't work and don't display anything: <html> <body> <script type="text/javascript"> var myJSON = {"count":26,.......}; var myObject = eval("("+ myJSON+")"); //problem here...
2
1,409
thread by: neamtzu | last post Apr 4 '08 by: acoder
Hello. I have the following function: function delProd(codproddel, rowNr) { var agree=confirm("Esti sigur ca vrei sa stergi produsul?"); if (agree) { var elTRdel = $('produse').insertRow( -1 ); var cell5 = elTRdel.insertCell( -1 ); //cell5.setAttribute("colspan","7"); var inp5 = document.createElement("input");
3
1,154
thread by: rodneyystwyth | last post Apr 4 '08 by: acoder
Does anyone know the code to have multiple css sheets on one website? Could you give me the exact code for xhtml to make it work. I have a drop down list with the options of different style sheets available, and the different style sheets written. I just need to know how to make it so that when you choose an option from the dropdown menu it...
9
2,784
Jezternz
thread by: Jezternz | last post Apr 4 '08 by: acoder
Okay! I want to make a function where you can input bascly the body of an html page. So basicly formatted html. Then I want my function to go through it and add some code to the Open Tags Only (not close tags), I would like to just have another replace with regex method and replace the html exit tags, however this is a problem as I do not...

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.