473,804 Members | 3,478 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,030
thread by: hoku | last post May 11 '08 by: hsriat
i need to make a variable that can set the width of a div var width=object.style.width width=100 should change the objects width is there a function that can do this??
3
998
thread by: lxfc97 | last post May 11 '08 by: lxfc97
Hi, I'm having trouble with the statement SelectedTD = this in the ClickTD function in the following code. The code does the following: the function InitTable() puts a table in the web page that has one row and one cell with an onclick handler attached to the cell .
15
11,544
thread by: jhaxo | last post May 9 '08 by: jhaxo
I need to find some nice looking javascript charts and gauges (no flash). Further I'd like a demo to protortype with. I can find lots of charts but no demo guages.
2
2,767
thread by: javi84 | last post May 9 '08 by: jhaxo
Hi everybody. I have some php values in my webstite, and I would like to create a nice graph with them (I´m not sure, maybe a pie graph, 3D if possible...). Is there any javascript that could help me doing it? Thanks for your help
1
2,058
thread by: sunilborkar | last post May 9 '08 by: acoder
Hello, I want to open the unblockable PopUp Window after closing the Internet Explorer Window and also when I go back to previous page. I know how to create the Unblockable PopUp window. Only I want to know how to call that function when I close this Internet Explorer Window and when I go back to previous Page. Please Help me. Thanks, ...
5
1,193
zorgi
thread by: zorgi | last post May 9 '08 by: acoder
Hi everyone I am not sure if this is the place to post this question but ... Well I was asked to do presentational CD using HTML and Javascripting. No problem I thought and few hour later everything was ready and it worked great on my hard drive. I than look up in google for how to create autorun and my CD was ready. But then we tested it...
1
9,041
thread by: RonY | last post May 9 '08 by: acoder
I have a dropdown which calls SetTimePeriod method on change the selection. In the JS function, I reset the field style.display based on what the selection is. This works fine with IE but not working with Firefox browser. The firefox browser has problem to display a field after its style.display is reset. At the end of the JS function, I...
1
2,021
thread by: tader | last post May 9 '08 by: acoder
Hi, my problem is that Object.prototype don't work in ie6 my function are Object.prototype.hide = function() { this.style.display = "none"; } Object.prototype.show = function() { this.style.display = "block"; } what to do that it would work in ie6
1
1,448
thread by: sencomenco | last post May 8 '08 by: gits
Hello, I have a problem with settimeout. When I call the initCountDown method on body's onLoad event. If I call the initCountDown on body's load, the button's code works fine afterwards. However, if I do not place initcountDown in body's load, the button calls countDown method only once and settimeout does not function. Any help or...
3
1,263
thread by: smartic | last post May 8 '08 by: gits
how can i make the ajax code keep connecting until it gets data from the server ,in my example i'm using ajax and php in simple chat baord to get new messages from the database and send the new message to the page by ajax how can i do that ?
5
1,571
thread by: RobertTheProgrammer | last post May 7 '08 by: acoder
Hi folks, This should be trivial, but I'm relatively new to web programming... I'm using Javascript to write to the IE6 status bar with the rather straightforward script: <script> window.status="this is the status bar!"; </script>
1
1,178
thread by: Boolbasor | last post May 7 '08 by: acoder
Ok.. I'm not retarded or anything I just don't know this stuff >_< <block of statements> Repeat? Y/N ####### When I do press Y the code will repeat and by pressing N it will terminate the program..how do I do this?
2
1,505
thread by: Chuckhriczko | last post May 7 '08 by: acoder
Alright now here is a puzzler. I am big into creating effects in JS rather than images, flash, etc. For many reasons, loading speed being primary. Now I know its possible to use IEs filters to make blurred text but of course the problem with proprietary features like that are that not all browsers can do them. That said, is there any way to...
3
2,331
kaleeswaran
thread by: kaleeswaran | last post May 7 '08 by: gits
hi! i wrote java script function while i was using ie6 ..after that i ran the same program in FireFox.but my javascript function is not working although pop window itself is not working,,, how do i fix this?... Thank you, kaleeswaran
2
1,832
thread by: miraan | last post May 6 '08 by: pronerd
Does anybody know the code for making a pop up that is draggable. An example is the one on http://www.planetsms.co.uk, when you go to the page it comes up with a small pop up with a form inside, does anyone know how to make a pop up like that. Please look at example before replying.
3
3,870
hsriat
thread by: hsriat | last post May 6 '08 by: hsriat
I have to make a dynamic page which contains only div elements. Now in each div, I have to add inputs, textareas, a etc. Two options I have... First:var inp = document.createElement('input'); inp.className = 'abc'; inp.type = 'text'; inp.value ....... .....
2
2,808
thread by: yarra | last post May 6 '08 by: gits
Hi I have problem with rico.js file. we are using the struts client-side validations. Its working fine. Recently i am adding ajax with help of rico.js file. Now my problem is started. i am creating the one array instace with new Array() method but it is going to rico.js file, this is the problem. How can i solve this problem,i might be...
2
3,452
thread by: hisaki | last post May 6 '08 by: gits
Hi there, For an internship I'm currently doing I need to be able to process large amounts of data in javascript. It's sort of a cash register system on which it's possible to see the current stock in real time for example. There can be as many as 6000 items in the stock. So performance is quite an issue. The original idea was to load a list...
1
3,102
thread by: prabhunew2005 | last post May 6 '08 by: acoder
I am doing text box validation in form. I did the following validations. 1)Special characters like $,#,etc should not be allowed to enter by user. 2)Only alphanumerical characters should be allowed to enter in text box. 3)The maximum length is 10. After that the user should not be allowed to enter any character. I am facing the...
7
1,459
thread by: theoni | last post May 6 '08 by: hsriat
Hello, I am making a javascript menu and I want to make the menu item that is currently loaded appear with different style than the other menu items. This can only be fixed in the javascript code loaded before the page so I tried to compare the location.href with the href value of the menu item and load different styles when href==location.href...
1
2,951
thread by: Benaron | last post May 6 '08 by: acoder
I'm a javascript newbie - so although I can follow scripts and write simple ones, I get stuck when things don't work. I'm trying to have a help section on my web-site where each question/FAQ will be on a drop-down box (Option Select). Beneath this I've set a textarea and I wanted this to be populated with the answer based on the user...
1
1,878
thread by: Valdimar | last post May 6 '08 by: acoder
Hi I have a little problem, i need a javascript that can change 3 images at the same time. That is i have an image , that has to change ven i hold my mouse over it + 2 other images has to change at the same time. If you have a javascript that can do that i wood be very great full. Valdimar
1
2,057
thread by: asamchristopher | last post May 6 '08 by: acoder
hi.. i am having a iframe inside a page. In iframe , i have some options, by according to the selection an option, i want to refresh the entire parent window .. say for eg: i am having some userid's inside my iframe. By selecting a userid and i click the edit button.. the whole parent window should by refreshed with the edit page of the user...
1
1,673
thread by: batisuta09 | last post May 6 '08 by: acoder
I want to make a TreeView(TreeFolder) by JavaScript. Please help me.Thanks alot
1
2,288
thread by: iliyash | last post May 6 '08 by: acoder
<head> <script language="text/javascript"> var strlogin; strlogin=<xsl:value-of select="//./forum/dot_/sitename"/>; alert(strlogin); location.href='http://test2.zapak.com/'+"strlogin";

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.