473,804 Members | 2,292 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.
4
1,511
thread by: Jay10k | last post Feb 11 '08 by: acoder
Hi, I'm working with the responseText on IE but I have a problem with it I make this var test = xmlhttpobject.responseText; alert(test); there is no problem with those two lines, the problem is that I'm sending from the server the word "si" and what I get in variable is a 5 characters word.
2
1,353
thread by: Andrew Poulos | last post Feb 11 '08 by: SAM
I have a function in a page in a frame. At the frameset I want to replace the body of the function in the page with new content. How do I refer to a function in a page in a frame from the frameset? Andrew Poulos
10
4,827
thread by: Sebarry | last post Feb 11 '08 by: ronverdonk
Hi, I'm using the code at http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/ to upload multiple files with a single file element. It works fine but for each file uploaded I want to store the contents of a text file which describes the file. I've tried to understand the code but I'm not a...
1
4,854
thread by: saritbhatta | last post Feb 11 '08 by: acoder
hi all, I am trying to create a single drop down menu with submenu with smooth drop down effect using javascript,css and html. I am getting many examples but without any smooth effect. Can anyone help me to solve this problem.
1
1,211
thread by: milas57 | last post Feb 11 '08 by: acoder
im new in web development i wanted to used Javacript library (jquery) i download the file and read documentation but i dont know how to start can anyone help me please thank u in advance
3
1,420
hsriat
thread by: hsriat | last post Feb 11 '08 by: acoder
So while typing reply, you will type the message in an editor... I need to make an editor similar to this one (reply editer), which can add , etc tags to the selected text onclick of the corresponding buttons... I tried lots of things...
4
2,029
omerbutt
thread by: omerbutt | last post Feb 11 '08 by: acoder
hi there i am amking an inventory application with php,ajax,javascript,html,dhtml,sql the problem is that i have hidden the input fields regarding the replace no's of the parts with this line of code document.getElementById('bgrp1').style.visibility='hidden'; document.getElementById('lable_rp_no1').style.display='none';...
4
1,173
thread by: helen2007 | last post Feb 11 '08 by: helen2007
Hello I have a java server pages with a form on it that has number of text boxes, hidden texts and some other controls (images, etc). I have two questions. Could you please help me ? 1. I would like to make one of the buttons on my form the default, so if user presses enter, this button is clicked. How do I do that? 2. The name of...
6
1,881
thread by: prathna | last post Feb 11 '08 by: prathna
hi all.. Im new to DHTMl,Javascript I have 4 rows each with a dropdownlist,textfield.I have a link.When the user clicks a link first time.i show one row now based what i select in the dropdownlist i want to show the corresponding row...now my issue is how can i change the position of where the row should appear.say in html i have rows of id1...
2
1,140
thread by: gareth182 | last post Feb 11 '08 by: acoder
Hello all. I am a complete noob to Javascript, but I do have a good knowledge of HTML & CSS. I need someone to tell me if the following issue can be achieved using Javascript, I will explain in as simple terms as possible - Consider a webpage that I cannot edit the HTML for, I can only add HTML or style the page with CSS. I need to...
3
5,085
hsriat
thread by: hsriat | last post Feb 11 '08 by: acoder
How can I temporarily disable vertical scrollbar? I have replaced confirmation boxes and alert boxes with inlay popup DIVs. But while they are on the screen, I need to disable scrollbar of the page so that user may not access the main page (just like in conformation boxes). Also I need to disable the main page leaving that popup DIV. ...
1
1,609
thread by: robin1983 | last post Feb 11 '08 by: harshmaul
HI guys, I have a index.php page. This page contain two div. I m giving the code below: <div id="v_div"> You must login to access the pages <a href="#" onclick="visible_form()">Sign In</a> </div> <div id="form" style="visibility:hidden"> <form name="login" method="post" action="login.php"> <table width="50%" class="table1">...
1
1,188
thread by: murrayatuptowngallery | last post Feb 11 '08 by: murrayatuptowngallery
I have been playing around with some sliders to allow users to select some numbers for some calculations to be displayed in tabular form, say wallet-sized or smaller. There are so many ways to do things
5
8,386
thread by: phub11 | last post Feb 11 '08 by: acoder
Hi all, I've not had much luck getting any responses from my previous posts, but managed to figure stuff out. Now I'm really stuck! Any help at all would be great.... I'd like to use a SELECT dropdown, and pass the value selected to the VALUE attribute of a table on the same page. The following is code which doesn't work!!! <script...
15
17,535
thread by: timothytoe | last post Feb 10 '08 by: Dr J R Stockton
Situation: I have an array of objects. I want to find the maximum value of a given numeric value that exists in each of the objects. Suppose the array of objects is called "stat" and the numeric value I want to check is called "member". Obviously, a for loop would do it: var maximum=stat.member;
3
2,681
thread by: jman | last post Feb 10 '08 by: Thomas 'PointedEars' Lahn
i've got a link that when clicked on generates some text dynamically (via javascript) and displays it in a new window. i use window.open. ideally, i'd like the file popup window to open and then i'd like to generate and save it to a file automatically. any suggestions?
3
1,211
thread by: FAQ server | last post Feb 10 '08 by: Dr J R Stockton
----------------------------------------------------------------------- FAQ Topic - I have a question that is not answered in here or in any of the resources mentioned here but I'm sure it has been answered in clj. Where are the clj archives located? ----------------------------------------------------------------------- ...
1
3,416
thread by: prathna | last post Feb 10 '08 by: gits
Hi all, I would like to know how to pass a form bean value to javascript function to perform some validation.. I have a dropdown list and a textfield. I have created the dropdown list using html:select tag & the textfield using html:text tag.I have a corresponding formbean with a get/set methods to get/set the dropdown value selected and also...
2
6,167
thread by: WGW | last post Feb 10 '08 by: WGW
Hello all, I need another set of eyes cause it just isn't working, no matter how identical I make it. The initRotator function works when called by itself, but when adding another function, only the "other function" works, not the initRotator function. Here's some examples of what I've tried 1st Example using the 2 functions on body tag: ...
1
1,195
thread by: rejoybhaskar | last post Feb 10 '08 by: hsriat
hi, how is it possible to make a pop up window that does the user validation for entering into the respective page. i mean when you open webmessenger.yahoo.com you can see a similar example there. for logging in a pop up window comes up for entering the user name and password. if the user is validated the pop up closes and the control goes...
6
1,737
thread by: lihao0129 | last post Feb 9 '08 by: VK
Hi, friends, I am hoping to write a chatroom with the AJAX methodology. I knew I can set periodic refreshment from the client-side code and make the input from any visitor get updated to all others. But I think this method is very low efficient since I have to contact the server in a very short time interval.. Is there any more practical...
7
1,548
KevinADC
thread by: KevinADC | last post Feb 9 '08 by: acoder
I found this javascript code appended to the end of an index.html page on a website that I manage for a customer, I did not put it there when I uploaded the page to the hosting services server. Can anyone give my a heads up on what it does? It was appended to the very bottom of the html document after the closing html tag: </html> <script...
3
1,140
hsriat
thread by: hsriat | last post Feb 9 '08 by: acoder
How do i learn Javascript FX? I need to create animations. (Just like in flash) Please provide me some links if possible.
2
2,660
thread by: srinivasyadavkota | last post Feb 9 '08 by: acoder
Hi Experts here, Pls help. I have opened the child window from the parent window.How to refresh the parent window when the child window is closed. Please help me. Thanks and Regards, Srinivas Kota.
1
1,561
thread by: XNeat | last post Feb 9 '08 by: acoder
I am writing the documentation of my XNeat. The code sample is included within Pre tag. Is there exist a javascript solution that will allow me to convert the text within this <Pre> tag into file and prompt the users to download it ? you may take a look into this page to know what i am talking about at this link i want to have a link...

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.