473,770 Members | 6,713 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
1,425
thread by: mrcoolguy | last post Mar 25 '08 by: acoder
Hi ppl Is it possible to connect to a remote host(whose IP address is known) and download a file on the remote host using Javascript.If yes then How do we do it?? If no,then how can we get the desired functionality when the other script is in HTML+Javascript. Please Help ASAP. tHANKS iN ADVANCE Aditya Darbha
4
2,514
thread by: boss1 | last post Mar 25 '08 by: acoder
hellow everyone, i m a new php web developer. i got a problem. i m using innerHtml and html Dom to retrieve some data from oracle database and view on to html page.But i dont know how to insert viewed data into oracle database using php.i have tried few ways but not success. can anyone plz help me? it's very urgent.
3
1,216
thread by: telekarper | last post Mar 25 '08 by: gits
i have the following code between <head> and </head> <script language="JavaScript1.2" src="menun_data.js" ></script> as a part of a dropdownmenu. i want to change menun_data.js for menuf_data.js witch is the same file in an other language. I will use 4 languages, therfore i defined the following array, <script type="text/javascript"> menu=...
12
2,538
pshm
thread by: pshm | last post Mar 25 '08 by: pshm
how to handle window closing event in javascript??? window.onunload=function(){ if(window.event.clientY < 0 && window.event.clientY < -80){ alert('window close event triggered'); } } this is working bassed on the mouse cursor.. in some case its not working... is there any alternate way to solve this prob?????? Regards, Prakash...
15
23,295
thread by: ajos | last post Mar 25 '08 by: hsriat
Hello all, Im making a dependent drop down for my application for filtering purpose. I have populated the drop down from the database and retrieved in the html. <tr> <td valign="top" width="138" height="26"><small><font face="Verdana"><strong>Branch</strong></font></small></td> <td width="379" height="26"> <select name="branch"...
1
1,042
thread by: shankari07 | last post Mar 25 '08 by: pshm
hi guys, I have a form in html which has the city drop down. when clicking the drop down a javascript is called and a file(test.txt) is created and the city is written into the file. Through php i want to open the same file(test.txt), fetch the values and display it in a text box without refreshing or reloading the form. Is it possible. ...
10
19,864
thread by: arunsenthil | last post Mar 25 '08 by: heenakausar
Hi, Iam new to JS. Kindly help me to solve the following difficulty. Consider 3 links such as link1,link2,link3 in gray color at top of the page. When each link is clicked the corresponding data should get displayed at the bottom of the same page and the currently selected link should change to orange. Suppose if link1 is selected, the...
3
1,409
thread by: michaelscript | last post Mar 25 '08 by: gits
I want to validate the class path string with regular exp and here is the correct format : "java.lang.util" . how to write a effective regular exp ?
6
4,212
thread by: aswath | last post Mar 25 '08 by: gits
hi all.. i have a small doubt.. i have two radiobutton on my page.. both unchecked initally.. on clicking either of the radiobutton few apporiate html contols ll appear.. after submitting the form and clicking the back button of my browser one radiobutton is in the clicked mode but its respective contoles are not appearing.. can anyone guide...
11
3,516
thread by: jomshri | last post Mar 25 '08 by: gits
hi This my ajax code <html> <head> <script type="text/javascript"> var req=null; var console=null; function sendRequest(url,HttpMethod) { if (!HttpMethod)
7
2,784
thread by: deepikashalini | last post Mar 25 '08 by: hsriat
im using javascript for loading the login screen. in form load i focus the cursor in username textbox.
4
2,821
Jezternz
thread by: Jezternz | last post Mar 25 '08 by: Jezternz
Find the Caret starting and ending position in a textarea. I have been looking for a function that will do this for a long time. Its amazing how many site claim to have a function that works, but does not. I would like to get it done here and hopefully others will find this post and not have to waste time. I have these simple requirements: I...
1
1,277
thread by: ramyasarangapani | last post Mar 25 '08 by: pronerd
Hi, i have a issue in html.in a table,initially all the controls should be disabled.on click of edit link in each row,the respective row controls should be editable. i have not used forms.pls help asap
3
1,265
thread by: Geoff Cox | last post Mar 25 '08 by: Richard Cornford
Hello, I am not getting the logic right here... I want to send to a php file the results of clicking some buttons but only when an email address has been added, so function checkBeforeSend(){ if (not all questions answered) {
3
1,434
thread by: mtek | last post Mar 24 '08 by: Dr J R Stockton
Hi, I am using this code to get the day number of the week: var numbers = entered.split('/'); var daynum = (new Date(Date.UTC(numbers - 1900,numbers,numbers-1))).getUTCDay(); Date comes in as MM/DD/YYYY
1
6,791
thread by: qwerty | last post Mar 24 '08 by: acoder
My end goal is to have a script that takes user input from one pageA, submits to pageB which then displays the parameter values entered on PageA. My problem is that the values are being displayed with any included spaces being replaced with the plus sign. Any help would be appreciated. pageA code: <html> <body> <form type="get"...
4
1,222
thread by: appandairajc | last post Mar 24 '08 by: acoder
Hi All, window.close() is not working in firefox browser. Can anybody tell me about this problem? Thanks & Regards, Appandairaj C
3
6,643
thread by: sasimca007 | last post Mar 24 '08 by: acoder
Hello friends, We have seen many textboxes, it is used as date,readonly,text etc... If we want to restrict the textbox with not to enter letters only numbers and one more thing is restrict the letters in textbox to enter 4 letters only. How these r possible? Help me my friends.
1
1,466
thread by: CutCopyPaste | last post Mar 24 '08 by: acoder
Hi , I am trying to open a modal window but if t he window is already opened i need to just set the focus back . The Code is working fine in one environment but not live system on live system every time a window gets opened irrespective of an existing window. What i Assume is that htp.p(' function disp() {'); htp.p(' MyTimeOutWin =...
2
1,347
thread by: shing | last post Mar 24 '08 by: acoder
As a start page I usually have several of my bookmarks and a "Home portal". I have decided that I want a new feature. <html> <script language="javascript"> onclick="document.location.href="about:config" </script> </html>
12
1,523
thread by: viki1967 | last post Mar 24 '08 by: viki1967
Good afternoon to everyone. I write this page htm with JavaScript code: <script language="javascript" type="text/javascript"> <!-- function parseNumber(val) {
3
1,367
thread by: vkosuru | last post Mar 24 '08 by: acoder
Hi ppl, I was asked to develop a customer feedback application which should accept the customer entries, say 10, in rows of the table. each row should be a new entry and each column is the required field. How to code such an application using HTML/Javascript as the website is already built in Javascript. how to create a table which accepts...
5
3,311
thread by: kenia | last post Mar 24 '08 by: acoder
Hi, I'm trying to get the body element of a page using a webBrowser control. Right now I'm testing in javascript to make sure i can access the body through the webBrowser control, but soon I'll create an activeX control and use the control from there. My code is: var wb = document.getElementById("wbSave"); wb.Navigate(window.location); var...
3
1,784
thread by: pmadhu512 | last post Mar 24 '08 by: acoder
hi below code is working in the IE6 and mozilla but not working IE7.when i moving the mouse to the block the popup getting closed could you please help me how to resolve this problem <div class="plus_addition"> <div class="plusindicator " onmouseover="openPlusPopup('pluspopup_<c:out value="${uniqueId}"/>')"...
5
1,182
thread by: the grim axel | last post Mar 24 '08 by: acoder
I'm trying to write a code that will use css to change the background of a page dependent on the page title. The image used for the background has the same title as the page. I was trying to use the document.write code to write a css tag that sayed <style>#content{background-image:url(images/{imagenamehere}.jpg);</style> Can anyone help me with...

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.