15,121 Topics

Member Avatar for
Member Avatar for Cr4nberry

Hi there, I have a little problem working with JavaScript, I was wondering if i could use some trick to call different variables with a base name. I'll explain it: var number1 = new Array(); var number2 = new Array(); number1[1] = "one"; number1[2] = "two"; number1[3] = "three"; number2[1] …

Member Avatar for captainbeef
0
415
Member Avatar for hknight

I use a Tab Pane Script to load form fields into tab panes. It works correctly in most browsers including Firefox and Opera however the form cannot be submitted in Internet Explorer. [url]http://d9qjx79zqpo3.googlepages.com/tabs.htm[/url] [url]http://d9qjx79zqpo3.googlepages.com/tabcms.zip[/url] To test, please click on the link in the admin area, then click on the "Save" …

Member Avatar for hielo
0
108
Member Avatar for Aamit

[code] <body onload='window.setInterval("timeHere()", 100)' onunload="sayTime()"> </body> </html> [/code] here is java script [code] <script> var time=1; function timeHere() { time = time + 1; finalTime = time / 10; } function sayTime() { finalTime = time / 10; //return finalTime; alert("Thank you for coming to my site! \n You have …

Member Avatar for diafol
0
791
Member Avatar for Kelicula

Hi all, I am usually a Perl programmer, I have some background in javascript and am attempting to create a Googleish selector div. [I]Please bear with me, excuse the long introduction...[/I] Here's the details: Our site filters content by location. I use zip codes to find radius's. So if a …

Member Avatar for hielo
0
234
Member Avatar for Aamit

This is script [code] <script> var time=1; function timeHere() { time = time + 1; finalTime = time / 10; } function sayTime() { finalTime = time / 10; } </script> <body onload='window.setInterval("timeHere()", 100)' onunload="sayTime()"> </body> [/code] I want to get the time i.e. value of finalTime in ajax varable. …

Member Avatar for ~s.o.s~
0
93
Member Avatar for AnilKumar_502

Hi All, I am new to .Net. I am converting a source which is in .net 1.1 to .net3.5. In 1.1 those people had used scritps for calendar popup. Let me show the sample code first In JSCalendar.aspx ---------------------------------- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="JSCalendar.aspx.cs" Inherits="JSCalendar" %> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for Ramy Mahrous
0
139
Member Avatar for Tom Tolleson

Hello. I've got a page with a <div> that is a dojo.dnd.source and another <div> that is a dojo.dnd.target. I am able to drag objects from the source to the target successfully, but I would like to be able to drag them back again as well. Any advice on this? …

Member Avatar for jamespw
0
133
Member Avatar for nedrah128

In this code it takes phone 2 when I click box and copies the value to a que box . But when I change "phone2" to "email" so on the click it will copy the email value to the que box. The result is undefined. But if I put all …

Member Avatar for nedrah128
0
178
Member Avatar for chanderk

Hi, I have the following piece of code. <html> <script language=javascript type='text/javascript'> function Getlink(a, b) { var targetURL=""; switch(a) { case 'param1': switch(b) { case 'param2': targetURL="http://www.google.com"; break; } break; default: break; } return targetURL; } </script> <body> <p> <!--<a href="javascript:Getlink('param1', 'param2')">Test google</a>--> <a href="#" target="content" onClick="document.location.href=Getlink('param1', 'param2');">Test google</a> <a …

Member Avatar for hielo
0
89
Member Avatar for 3210

Hi, I am new to JS. Long time passed trying to understand JS basics and functions...may be it's time for asking some help. Om my exam pages I have <iframe> and <img> to change pages in the iframe. I have links to other 5 pages that are opened in the …

Member Avatar for 3210
0
133
Member Avatar for heryasa

i need help to build web chat using ajax and php for my final project to get my bachelor degree. the feature include: room chat, private chat, file transfer, voice chat, and video chat. who want to help me please feel free to email me at <snipped> thanks

Member Avatar for SavuthHeng
0
104
Member Avatar for joewazen

hello, i want to open several ie windows but the problem is that when i use window.open only one ieexplorer thread is used no matter how many windows i open which is causing me session time out problems when closing one of the windows so my question is can u …

Member Avatar for ~s.o.s~
0
180
Member Avatar for gennickmchi
Member Avatar for bondo

Hey everyone. I am working on adding a 'search' field to a page and I'm using ajax to update the content of the page. When someone types a letter into the search box, the page content updates based on what they type. I have this all working as far as …

Member Avatar for bondo
0
254
Member Avatar for sivak

i have one text box date of birth and submit button ..if i click that submit button the calender should open ...if we selevt any one of the date on that calender the date should display in dataof birth text box.. can anyone tell me the javascript code for this …

Member Avatar for sivak
0
78
Member Avatar for veledrom

Hi, When i click on submit button, javascript is going to check a particular textbox if it is empty. If it is then don't validate the form and make a text message visible from invisible. How can i do it? No CSS please. thanks [code] <form name="form1" method="post" action="a.html" onsubmit="return …

Member Avatar for veledrom
0
131
Member Avatar for cpeeyush1

hi i am new to java script and i am designing my web site but i want to load a new image on a particular place of my web page when a user hover over the home,contact us link so pls tell how can i do this if you have …

Member Avatar for essential
1
135
Member Avatar for arshadshaikh

How to play multiple wav files with embed element using javascript and/or DHMTL? I have a page with a liink to play and I need to play audio files through javascript and/or DHTML with embed element.

Member Avatar for ~s.o.s~
0
92
Member Avatar for edek

The code is: [CODE=JAVASCRIPT] var func = function(){ this.a(){ //here 'this' refers to 'func' }; var b = function(){ //here 'this' refers to 'window' }; }; [/CODE] This is kind of beginner question, but are there any simple rules that I can follow to determine what context I'm currently in? …

Member Avatar for ~s.o.s~
0
75
Member Avatar for squarkman

I have a field set as number (num) for validation. The code below will only allow numbers to be accepted in the field. I would like to modify it such that is MUST have at least two numbers and as many characters as the person wants to type. Can it …

Member Avatar for sid78669
0
142
Member Avatar for ajithraj

Haii. I want to resize an image before uploading it to the server.. Is there any way to do that....

Member Avatar for sillyboy
0
44
Member Avatar for Theeba

Hi Everyone; I'm working on a project to create an html form for users to input their contact information. I was wondering: is there a way to have a pre formatted text field? For example, to have a form text field that has the brackets for the area code and …

Member Avatar for hielo
0
163
Member Avatar for farshidk

hi I am trying to assign open a page in a new window, the following codes are doing so: [code=html]<a title="" target="_blank" href=" my_page.htm"> <img border="0" src="test.gif"></a>[/code] but there are not any control on the size, scroll bar, etc. of the new window. so how can the parameters be defined …

Member Avatar for essential
0
77
Member Avatar for gilroda

Hello, I need help with embedding links within a Jquery Accordion. The code I am using is based on [URL="http://jquery.bassistance.de/accordion/demo/"]Jörn Zaefferer's JQuery Accordion plugin[/URL], with some modifications to allow for an embedded link within each accordion div. The accordion effect looks and works just fine when viewed in Safari and …

Member Avatar for gilroda
0
182
Member Avatar for emilio

hi my code is using javascript to dynamically build an html table and fill the table with html buttons. my code: [CODE=javascript]<html> <head> <title>javascript1</title> </head> <script lnaguage="javascript"> function Init() { var table = document.createElement("tbody"); var newrow,newcol,tmp; var array = new Array(16); for (var i=0 ; i<16 ; i++) array[i] = …

Member Avatar for emilio
0
323
Member Avatar for brechtjah

Hi, I'm trying to create an expandable content box for forum purpose, however the code I've come up doesn't work in IE, but it is valid HTML 4.01 Strict. Anyway, if I'm handling this problem the wrong way, please tell me how I should do it then. I have an …

Member Avatar for essential
0
158
Member Avatar for Roebuc

I have an AJAX script that works fine the first time in IE. For example, if you go through the form and never change your mind, everything updates like normal. However, if you decide that where you checked yes you shold have checked no, the objects do not update. The …

Member Avatar for Roebuc
0
79
Member Avatar for djthekid

I need some help here please. I have a form that has a javascript slider bar to give one field's percentage. Unfortunately I can't get the value to pass to the hidden input. Here's the code: [code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Slider test</title> <script type="text/javascript" …

0
69
Member Avatar for sanddy

I would like to do an Audit of who Prints out my Page of the Top Frame. I have the audit code figured out but I would like to know if there's a way to Press the print button and Print the Page. If the page was successful printed I …

Member Avatar for brechtjah
0
67
Member Avatar for bdicasa

Hey guys, I'm trying to learn how to create an interactive menu (menu that drops down when you hover over it) without using JavaScript. The reason I want to do this is because IE always asks "are you sure you want to run scripts or ActiveX controls", which I'm sure …

Member Avatar for essential
0
86

The End.