15,120 Topics
| |
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 … | |
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= … | |
first of all I run on microsoft XP, I have a toshiba satellite laptop 1415-s173. I think i'm running using IE 6 I'm not sure I do'nt know how to find out. I think it's either 6 or 5.5 and AOL version 9.0 This is a fairly new computer, purchased … | |
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 … | |
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* … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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... | |
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 … | |
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 … | |
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 … | |
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> … | |
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 … | |
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 … | |
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 … | |
How can I link my c++ program with html/javascript code? My c++ program should have browser interface....Is cgi the only option.I dont want webserver and cgi...What else can I do? | |
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. | |
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 … | |
[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 … | |
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, … | |
Hi. I understand that ASP is server side and JS is, at least in my case, run on the client. So, an ASP process will be run before a JS process. I want to make them work together if possible. Here is my problem: I have an ASP process that … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.