[RESOLVED] a beginner

149 byte By Visslan at 2007-11-20 5:14:49
How do I do if I want a javascript that makes a lable visible or not depending on if a checkbox is clicked or not? I'm writing in c# and asp.net

Tooltip on items in a drop down list.

291 byte By bjswift at 2007-11-20 5:15:18
Is there a way to have a tooltip displayed for each item in a drop down list? I would of course have to load the data when the page loads, but would like to have a brief description of the items in a drop down list.<br/>Thanks for any help, or direction on getting this problem solved.

Horizontal scrollbar in Combox Box

180 byte By Reddyrams at 2007-11-20 5:16:36
In Javascripting is it possible to place Horizontal scrollbar in ComboxBox,<br/>if Yes, <br/>Can u please give me with example code<br/>Thanking You friends<br/>ever Reddyrams

javascript: how can i access parent object properties/methods

272 byte By kaos_frack at 2007-11-20 5:18:25
I have created nested objects and a child object needs to access parent object 's properties/methods. How can I accomplish that? Somewhere I have seen the __parent__ property of objects that refers to parent objects, but it is not working on IE only on FF.<br/>Thanks

add event handler, without remove the old one

299 byte By CoDavid at 2007-11-20 5:25:16
say 'el' is a html element, already get by some way, and it has a event 'onclick'.<br/>el may already have onclick handler<br/>i want to add an other event handler, and it must be invoked after the old one.<br/>i tried attachEvent(), but it invoke the new handler first

Newbie JS Questions

506 byte By --NINJ4- at 2007-11-20 5:25:29
Hey all, I know my way around java by now, but I am interested in working with some javascript but I have a few questions:1) How do I know what the API for javascript is? I tried Sun's website for this, but I only ever come up with the regular java api.2) What is the best way to work with mysq...

Onchange not working in IE

2732 byte By Debbie-Leigh at 2007-11-20 5:25:58
Hi,I have a select field that has an onchange attribute that fires an ajax script to fill out another field. It's working perfectly in every browser except IE, but I just cannot figure out why it's not being triggered in IE.My code is:The HTML:<select name="CountryId" id="CountryId" siz...

error on form posting in firefox

5087 byte By delmoras at 2007-11-20 5:27:47
hello, i made form and I added dynamically with javascript some elements but when I try to post the form the dynamically elements I see that the elements made with javascript didn't post !!! this error occurs only in firefox and not in IE. the code i wrote is below :file name : addelements.phpf...

resize image onresize

793 byte By Mitsukai at 2007-11-20 5:27:49
hi i have this<script language="javascript"><!-- Beginfunction objbyid( id ){var returnVar; if (document.getElementById) returnVar = document.getElementById(id); else if (document.all) returnVar = document.all[id]; else if (document.layers) returnVar = document...

phone number problem

2609 byte By haseloff at 2007-11-20 5:30:21
I am having a similar problem with a form that I have. Currently I have javascript that turns the 10 numbers typed into the text box are converted from 1234567890 to (123) 456-7890 automatically and as its typed. It works great in IE but firefox just doesn't respond. The code is as follows&l...

Combobox items index

297 byte By Reddyrams at 2007-11-20 5:32:47
Hi friends,<br/> i have one combo box which is showing n number of rows,<br/>when i keep my mouseover on a particular row(without clicking on the row), i want that row number as aler box.<br/>pls can anybody give help by giving example code.<br/>Yours Ever Friend<br/>Reddyrams

Fibonacci Javascript

535 byte By Phil23 at 2007-11-20 5:33:39
I am having trouble with developing a program that uses the Fibonacci numbers method. I need code that allows a user to enter a number into an input field and the number of the calculation with appear below. The number that are to be enter must be between 0 - 20, if a user enters a number outside th...

Framework or Skelton Web-App...

757 byte By usman999_1 at 2007-11-20 5:34:44
Hi*! I need to develope a web application that at first authenticates the user (user name and password stored in MySQL) then allows the user to create/edit/modify data in the database & in some cases executes some files on the server. I am new to all this web-development stuff. I am looking fo...

Javascript form

3036 byte By Phil23 at 2007-11-20 5:34:57
I have been working on an input form in javascript and im having some problems with the format of the phone number text field, i am trying to set the format to a UK format eg "(44) 028 9036 6591" when the user clicks off the text field. Below is the code i have been working on:ps (Any help is much...

Listening iFrame events

575 byte By djmarki99 at 2007-11-20 5:36:38
Hi there HTML Masters!Ill try to figure out my actual enviroment.I have a html file with 2 iframes (A & B lets say).The point is that A is a login/pass page, when i submit the form in A, something should loads in B as well as in A a second page with "login Succesful" is loaded. I dont have problem w...

Form Submission Problem (IE,Netscape and Mozilla)

4569 byte By sobeel at 2007-11-20 5:40:08
I have two pages containg same code (1 for IE and other for Netscape & Mozilla)...I have used VBScipt in these pages and For Form Button, I have called onclick="Submit_onclick" function...in which I have applied client side checks on form fields...This technique is working fine in MS Internet Explo...

javascript woes

2541 byte By wessie at 2007-11-20 5:40:23
Hi all,I've written a small script to allow the user to enter a telephone number (like 0690-HELP) and it would convert it to the numeric equivalent (ie. 0690-4357). But i've got a problem with the javascript giving me a message saying one of my form objects "is null or not an object".I...

Real Cool HTML Tricks

166 byte By Nibinaear at 2007-11-20 5:40:32
I found this list of really cool HTML/CSS tricks you might be interested in. The iframe one is particularly good.<br/> http://tips-scripts.com/?tip=one_liners#tip

Getting selected source code!

536 byte By koden at 2007-11-20 5:42:03
How do I get started on getting "highlighted" or selected source code on a website?I understand how to setup action listeners, but is there a way, like in Firefox's browser, to get the selected HTML code rather than just text?I know for IE you can create a "range" of sorts, and getHTMLtext or s...

Outputting form into text area help !

3728 byte By Phil23 at 2007-11-20 5:43:01
Please check my code on a form which is meant to output results to a text area?any help would be most appreciated!!<html><head><title>form</title><script type="text/javascript" language="JavaScript"><!--function validatename(){if (!document.survey.visitor.value){aler...

Javascript checkbox problem

4471 byte By Phil23 at 2007-11-20 5:44:49
I am trying to add some validation to a checkbox that i have added to an input form. I have 4 options to choose from and i want the fourth option to uncheck when any of the other options have been selected from the list. The checkboxs are: footballswimmingrugby noneI want when the user checks the "...

Maximum length of String in javascript in IE6

1047 byte By jan@informatica at 2007-11-20 5:46:59
Maximum length of String in javascript in IE6Hey I'm trying to send data from flash (in a large string) to javascript. This works fine for ie7 and firefox. But in ie6 it does nothing.I started to do some tests to find the problem and came to the conclusion that when I put this text in the ie6 a...

Load HTC file from cach

628 byte By limorgah at 2007-11-20 5:48:33
HiI have an HTC file named TestHTC.htc.I have in my aspx file <span style="BEHAVIOR: url(TestHTC.htc)"></span>When I need, at run time, another element with the same behavior I am using:var newObj = document.createElement ("SPAN");newObj.addBehavior("TestHTC.htc");my problem is that ever...

DOM in browsers

377 byte By koden at 2007-11-20 5:50:53
So I found the DOM specification for mozilla, and wrote a bunch of script for it. But it definately doesn't work in Internet Explorer, and I haven't tried opera type browsers yet either.I'm doing operations on selection objects and range objects.Does IE have a similar sort of referen...

valign <select> form element

1227 byte By usman999_1 at 2007-11-20 5:51:23
Hi *, I have a table that displays text mostly in it's cells, and only one needs to display a <select> list element. Now I have aligned the text (that acts as lable for the <select>) to bottom. And in the adjacent cell, I display <select> element. My problem is if I inc...

Some DOM javascript code works only in Firefox 2.0, not 1.5, why?

639 byte By koden at 2007-11-20 5:52:14
I have some code, using all the DOM documentation in the developer.mozilla.org website. For some reason it's only working in the newest Firefox 2 versions, and not 1.5.0.xI'm having a hard time finding any documentation of what's not supported.Can you guys help me? Here are the func...

Type mismatch error

3972 byte By haseloff at 2007-11-20 5:55:36
Hello all, I am trying to do a simple form validation and keep getting a mismatch error when I click the submit button. The entire code is below. Essentially, they put in information and when they click the submit button a series of validations occur. If all validations are good, it submits the f...

Problem with IE7 Zoom

317 byte By limorgah at 2007-11-20 5:57:03
HiI have a menu in my siteit works fine on IE7 if the zoom is 100%.if i change the zoom to something else (higher then 100%)the submenu positioning is corrupt.I saw in the internet that this is a known problem, but i found no solution.Any ideas?ThanksLimor...

Client side HASH generation & secure transmission to server

1297 byte By Meeer at 2007-11-20 5:57:14
Hey ppl,I m an engineering student working on web development project(in asp.net) and i am stuck up with the client side script. Precisly i want to run a complex function(which calculate the Hash of some txt) on client side and send the result back to the server. I have search the web a lot for help...

how to stop scrolling?

2676 byte By kdaman at 2007-11-20 5:58:18
I know very little about javascript but am willing to learn. Below is some javascript from the net that I want to use to scroll text across the screen, but it doesn't work exactly as I would like. I need it to scroll across the screen only once and stop (the way it is, it scrolls continuously...

JavaScript dynamic overlay.

388 byte By PeejAvery at 2007-11-20 6:00:38
Anyone know why I am getting the following error in IE using the following code? I have tried so much and just can't figure it out. Why does IE not like it?<script language="JavaScript">var objOverlay = document.createElement("div");objOverlay.setAttribute('id', 'overlay�...

Pass Japanese characters

173 byte By vpjulie at 2007-11-20 6:00:56
Are you willing to use a *.vbs file on the Client side??<br/>hello!<br/>its okay for me to use a .vbs file. But can you also pass a parameter using japanese characters?

Possible to run Safari (browser) on Windows machine?

238 byte By koden at 2007-11-20 6:01:07
I'm trying to test javascript for different browsers, but I don't have easy access to a Mac to test Safari.<br/>Is there any ports that I can depend on? Is there a good free emulator of some sort I can run?<br/>Thanks

Text Properties (Underline onHover etc etc)

675 byte By usman999_1 at 2007-11-20 6:04:15
Hi *! I am displaying results of a search query in a table. The top row of the table displays the Column names and the rows below contain the result. Now to let the user edit/delete the results I want to display the result in first column of the table (excluding the topmost row) as a link (I&...

Client-side File Transfer

794 byte By GerryLarry at 2007-11-20 6:04:51
I need a page on a website that gives the client the ability to transfer a file from their computer to the web server. Originally I was thinking that I would use an INPUT element with type="FILE" but then I found out that some of the file sizes were very large (500Mb+). So I don't think this...

JavaScript Addition

1226 byte By codekat at 2007-11-20 6:07:43
Hi,I'm relatively new to JavaScript.My total is returning NaN, having trouble with removing the "$" symbol when adding numbers.*The problem is that VALUE B is getting a value from another field which includes the "$" symbol. Example: $10.00The "parseFloat" does not convert it to a float and the...

[RESOLVED] help with alert messagebox

712 byte By Visslan at 2007-11-20 6:12:57
Hi!I'm new to JScript and have no idea why this code doesn't work.protected void ClearAllOrders_OnClick( object sender, System.Web.UI.ImageClickEventArgs e ){ string showmessage = "r du sker p att du vill rensa all betsllningsdata"; string alertScript = "<script language=...

[RESOLVED] Creating Table Rows (Javascript)

430 byte By Nibinaear at 2007-11-20 6:14:41
I've been trying to add rows and cells to a table using Javascript. I've been managing fine but I was wondering what the difference between these two pieces of code was and which is the best? var a=row1.insertCell(0); a.innerHTML="hello"; var b = row1.insertCell(1); var textNode = do...

How to know file or folder by the path

270 byte By Reddyrams at 2007-11-20 6:20:01
Hi friends,<br/>am using javascript..<br/>in this i have a path in some variable.<br/>how can i confirm that path is related to folder path<br/>or <br/>that path is related to file path.<br/>pls cna u halp me by giving example or some way<br/>thanking you

Change code with drop down menus

487 byte By Steve100 at 2007-11-20 6:20:47
<td style="FILTER: progid:DXImageTransform.Microsoft.gradient(GradientType=1, startColorstr=red, endColorstr=blue); COLOR: green; HEIGHT: 120px">The above gives a gradient color change, I would like visitors to be able to change the colors ie red and blue using drop down menu...

Strange problem...

940 byte By Mark_Lee at 2007-11-20 6:22:04
Hi, guys...I have some javascript code...eval('window.opener.document.'+frm[0]+'.txtStatus.value='+status);eval('window.opener.document.'+frm[0]+'.cmdSearch.click()');I upload these code at webserver of my company...and i tried to run it...It's running we...

Refreshing Frame

540 byte By shweta1234 at 2007-11-20 6:23:52
Hi all,I have one problem in Asp.On my one page ,there is treeview control in a frame. When I add some record in another page ,the tree should also get refreshed. Can we access the frame on another page from one page and get it refreshed?I tried something like this Response.Write("<script languag...

Javascript in IE 7.0

226 byte By anupam kant at 2007-11-20 6:24:29
Hey, <br/>Microsoft IE 7.0 is in market and I heard that it is expected to <br/>surpass 85% of market share in near future.<br/>Anybody noticed any limitation in IE 7.0 in terms of javascript that runs well on IE6.0?

[RESOLVED] How to get answere from alert msg box?

539 byte By Visslan at 2007-11-20 6:26:25
Hi!I have a script in an onclick function that looks like thisstring showmessage = "r du sker p att du vill rensa all betsllningsdata"; string alertScript = "<script language='JavaScript'>";alertScript += " window.alert( '"+ showmessage +"' ); ";alertScript += "</...

[RESOLVED] HTML Table / Image problem

943 byte By Forsakenblade at 2007-11-20 6:31:05
Why would images and tables have different sizes? I speciefied my table to be width=800, height=200 and the image fall in those dimensions.I make my table border 1 so i can see if its right, and in Firefox, safari, ie for macs but in IE on windows there is more space on the bottom of the table by a...

using the prototype library...

364 byte By gilly914 at 2007-11-20 6:31:13
Hey there,I just starting using the prototype.js library, and i found out that some things change using it...Im trying to create a 2d Array, but im having trouble,,,how can i do this using prototype :var ExtraOptions = new Array();var ExtraOptions[1] = new Array();alert(ExtraOptions[1][1]);Thanks in...

need help adding values in a javascript

17161 byte By liftthis at 2007-11-20 6:35:37
I am trying to add up the best snatch and best cj and place the total in total cell. I am new to java script and If anybody has some examples how to do this I would appreciated it.here is the code <HTML><head> <TITLE>Competition</TITLE><script>function calculation(a,...

[RESOLVED] Passwords & user Specific Values

3625 byte By HanneSThEGreaT at 2007-11-20 6:36:38
Hello guys! :wave:I have three files : contact_nr.htm Pass.htm leave.htm The whole object of these three files is:In contact_nr.htm, I have an HTML Table with people's names. All the people's names have a link attached to them. When I click on this link, it opens up Pass.htm; which conta...

Nobody knows? Keep loaded image before loading next

2680 byte By rogernem at 2007-11-20 6:37:13
I have a xml file pointing to 5 images urls and a Flash file that loads one by one like a slideshow.The problem that Ive been having is that when it loads the next image, the previous image "disappear" leaving a white empty space until the next image comes after loading.I know I can have a pre-loade...

[RESOLVED] onClick show current and close ALL others

842 byte By Ipsens at 2007-11-20 6:37:50
I have a list of FAQ.It is formated using <ol><li></li></ol>Now each "li" it FAQs head and after it is clicked it must show hidden div layer with content related to that FAQ head.Now when someon click on some other FAQ head - it must open as previous one AND close other that...