14,053 Topics

Member Avatar for
Member Avatar for nschessnerd

Hey peeps, im working on a method to format inputed text to include html, and i need to read line by line. is there any way i can do this? My java code looked like this: [code] public String convert(){ int b=0; int e=0; //vars String f = ""; String …

Member Avatar for GreenDay2001
0
67
Member Avatar for DNRSmitty

I'm trying to fill the values of a dropdown SelectMenu depending on the selection in another menu, but this code is not working. What am I doing wrong? [<%@LANGUAGE="Javascript"%> <html> <head> <title>Load Dropdown</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript"> <!-- var tennisplayers= new array("Safin","Andre Agassi","Pete Sampras","Anna Kournik","Martina Hingis"); var cricketplayers= …

0
66
Member Avatar for pojke

Hi, I got very very strange problem. Since 19 of december, when all FireFox in company was upgrated automaticaly, code below stopped working. Strange thing is, when i wanted to solve it, it started to work when i've putted alert() function. Here you have working and not working examples. I'll …

Member Avatar for pojke
0
115
Member Avatar for linux

The computer I am currently on: Windows XP SP2 Internet Explorer 7 That's all you really need to know. I use Javascript a lot, but recently, I have traveled over into the more application programming, and less web programming. I opened my father's laptop, and typed in a pretty *long* …

Member Avatar for asmqb
0
106
Member Avatar for luzkazar

Hi guys...i'm kinda new in this js language...i was wondering can anybody help me with this code....well problem maybe sound a bit silly..well I was wondering how to get the all the value from the txtbox so that,I can validate all the data that have been key in by the …

Member Avatar for GreenDay2001
0
149
Member Avatar for khusani

I am developing a page with many of AJAX methods. what i want to do is, inside a javascript function, there is a loop. inside this loop i want to call the AJAX methods and retrieve the response text. when i do that i recieve an exception telling me that …

Member Avatar for nemo5
0
169
Member Avatar for hbmarar

hi, I am a new bie to this concept of AJAX....but the demo trial with a select element went fine. What i tried? I created a html file and a drop down menu.based on the option the the information is displayed to the right of menu. What i want is …

Member Avatar for nemo5
0
269
Member Avatar for t.maheswari

Dear Friends, I have one doubt in html text editor. my editor have the table icon, when the user click that icon table is placed in editor. How it done means.. First the convert all table tags to string(eg. str="<table id='table1'><tr><td></td></td></table>") using pasteHtml Property we place the table in editor. …

0
64
Member Avatar for Cerberus

Hi, i have a page which is built from an asp script providing a thumbnail of an image from a database. I want to enlarge the image (when clicked on) in a new window and i can't work out how to do it using Javascript. Any help would be much …

Member Avatar for GreenDay2001
0
188
Member Avatar for remcov

Is it possible to use javascript to test for the firefox bugzilla plugin? Ive got some problems with this plugin messing up my code making the admin part of a site stop working properly. I would like users that use the admin to be forced to disable bugzilla...

0
79
Member Avatar for aparnesh

I have a login screen in which the user has to specify the User Name and Password. There is a submit button which accepts the values and passes to the server for authentication. I would like to allow the user to use the <Enter> key in the password field to …

0
82
Member Avatar for kamleshpdude

Hi I have written a javascript program where in a user selects the text on the web page, which is marked for him by changing the bgcolor of the selected text but i am facing a problem where in after one selection is done it is working fine but for …

Member Avatar for GreenDay2001
0
51
Member Avatar for kaa_

In html i have some question, and the answers are radio buttons ... the names of variables in html are array ... like question[1], question[2] ... etc. and every question has multiple value, depending of the answer. [html]<form action="thx.php" method=POST name=form onSubmit="return check(this)">[/html] In javascript i have to determinate if …

Member Avatar for MattEvans
0
74
Member Avatar for kaniths

hey frends.. i have to create a asp page with 2 select pulldowns(state,city),options to b displayed in the CITY depends on STATE choice. the option list is to retrived from a db dynamically. i have a table with fields--state,stateID,city,cityID. here is the code snippet i have.. :idea:[code=asp] <html> <head> <title>testpage</title> …

0
80
Member Avatar for spike29

Could any one please answer these questions , it would be a grate help and thank you. Q 1: not planing on implimenting this just need the ans to the question. Please help Q: write a XHTML document that shows the reasult of the color survey. The document should contain …

Member Avatar for JJ___
0
119
Member Avatar for drewrockshard

I have a little problem. I have a drop down menu that contains various different entries. I am allowing the user to also have a text box right next to the drop down menu where they can specify a category (and it will insert it into the drop down menu …

Member Avatar for Dukane
0
380
Member Avatar for spike29

Q: write a XHTML document that shows the reasult of the color survey. The document should contain a form with radio buttons that allows users to vote for their favorite color. one of the colors should be selected as a default. Then document should also contain a table showing various …

Member Avatar for MattEvans
0
143
Member Avatar for khusani

hey all, i'm trying to get the item index of a datagrid item using javascript. does anyone knows how to do that ? P.S: i dont want to use them ItemCommand or any method in the code behind. only javascript. thanks.

0
77
Member Avatar for sanjeevverma

I have a form where user can enter search criteria and then press search button. But user can also stop the search operation by pressing 'cancel search' button. My problem is once user presses the 'cancel search' button to stop the search operation , and then if user does the …

Member Avatar for FC Jamison
0
86
Member Avatar for kamleshpdude

[B]Hi I want to write a javascript program which will change the font/color of the user selcted text on a web page. Is it possible to know the exact location of the selected text from the web page. I want a user to select a text on a web page …

Member Avatar for FC Jamison
0
146
Member Avatar for evank

I'm trying to implement an AJAX solution for exporting tabular data on a page in certain formats, and i've determined that the best way to do this (for my purposes) is to grab the innerHTML of a table, send it off to a server-side script for processing into alternate formats, …

0
71
Member Avatar for poseoff

Hi, I'm a newbie on javascript, and am experimenting with this simple script below. I was wondering how could I halt/quite/close the script/program after pressing the X or CANCEL button? I try to press X and CANCEL button, but it won't quit and this script results in infinite loop [CODE]<html><head><title>Phone …

Member Avatar for Dukane
0
142
Member Avatar for vov4ik

Hello people, I have just started to learn JS, and have a question. I want make my script to load (for preview) an image file chosen by user through HTML form. My code is following: [html] <html lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> <title>Upload form</title> <script …

Member Avatar for MattEvans
0
164
Member Avatar for ForestTech

Ok, basically I have this giant, great, big, long variable and I still haven't learn the syntax for this sort of thing. How would I break this up? Basically, the variable is information that is being displayed in a tooltip that hovers after a mouseover. [code]var msgBrackenRidge = '<b>Eco-Friendly Residence</b><br><br>51 …

Member Avatar for ForestTech
0
109
Member Avatar for {-_-}

Hello All, I have a javascript image preloading script I'm writing, and it basically creates an array called "array_name" which contains the image filenames, and then uses a for loop to assign "array_name"'s elements to another array called "preload". I know my syntax is good, but the firefox javascript inspector …

Member Avatar for MattEvans
0
102
Member Avatar for BamaStangGuy

Hi, I am having a hell of a time trying to figure out a javascript error I keep receiving on my vBulletin Forums. The error is not very specific (to me at least) Check out the screen shot for the whole error. I have been poking around all the templates …

Member Avatar for BamaStangGuy
0
102
Member Avatar for EnderX

I have been requested to create a file which will act like an XML page (expandable tree-like structure). I have been given the following requirements: 1. End user requires that the page be an xml file. No problem there, I know enough (barely) to do that. 2. Request that, if …

Member Avatar for MattEvans
0
113
Member Avatar for ForestTech

Hi, I'm trying to validate a checkbox in the form and I'm not sure which property to use. At the moment, I have a checkbox called "termsandcond" and I'm trying to write a javascript validation script that checks to see if it is ticked or not. [code] function validate(){ var …

Member Avatar for MattEvans
0
114
Member Avatar for shabam

Hello, I'm a newbie and have just spent about 4 hours making the attached code work. The only problem is that it works the opposite of how it should. I have an image map and i loop through and place images to the images that i want to showup when …

0
100
Member Avatar for spike29

Question for a Book (Inernet & WWW How to program) Write a JavaScript program that uses Looping to print the following table of valuses. Qutput the results in an XHTML table. N 10* 100* 1000* 1 10 100 1000 2 20 200 2000 3 30 300 3000 4 40 400 …

Member Avatar for spike29
0
1K

The End.