15,127 Topics

Member Avatar for
Member Avatar for and1dude

Hi, how can i ignore the blank lines in a input file? input: Name value departure city value value arrival city value distance value Name value departure city value value arrival city value distance value etc.... I used 2 scanners, First one scanner if there is nextLine(), then send the …

0
42
Member Avatar for terme22

Hi I have an xml document with these elements: <staff> <employee> <name> <fname>Sally</fname> <lname>Green</lname> </name> <department>Sales</department> <personal>loops who would like some kalenow what to do. </personal> <id>111</id> <phone>555-444-1234</phone> <image>../images/h111.jpg</image> </employee> </staff> and I have to make a drop down: <form action="" method="get"> <select name="showDept" size="1"> <option value="1">sales</option> <option value="2">IT</option> <option …

Member Avatar for terme22
0
103
Member Avatar for Tom Tolleson

Hello! I work as a contractor for a U.S. Federal Agency that has just approved the Dojo API for rich internet apps. I've got some JavaScript experience but I've never worked with Dojo before. I've been immediately tasked with a job of creating a page with two html list forms …

0
96
Member Avatar for ray_broome

Hi all, I'm trying to create a more customized version of the prompt function built in by javascript where i basically use some dhtml to bring up a div made up to resemble the javascript prompt window. I am getting some problems with hiding/showing it though. Here's the javascript: [code=javascript] …

0
90
Member Avatar for arun.3187

I am doing my final year project. So I need some AJAX project titles. Please send me some if you have!!!!!!!!!

Member Avatar for trinitybrown
0
59
Member Avatar for cmills83

Hi, I wrote a script to focus back to the parent window and change the url. easy. anyways, it works fine in all browsers but if the browser is using tabs it still changes the url of the parent window but doesnt focus. Is there a way to focus browser …

0
70
Member Avatar for positrix

I am facing problems passing an email address to a php file through AJAX. The code I am using is pretty basic but I can't seem to get it to work. Could anyone help me understand what's going wrong? I amd pretty new to Ajax (about 2 days old) so …

Member Avatar for ~s.o.s~
0
268
Member Avatar for toucan

I want to use some links that jump to a specific time in a video in Real Player. Does anybody have any suggestions on how I might do this? Also, can I resize the video playing screen and have Real Player remember the location the video was playing before it …

0
53
Member Avatar for ashercharles

hai i have a page where i there is a single drop down box after the user finishes his selection the content of the selection should be returned on the same page to tell the user what he has selected........

Member Avatar for kburb23
0
64
Member Avatar for jobojo

I have just written a JavaScript file which calculates a taxi fare based on a starting zone, an ending zone, and the length of the taxi ride. The program appears to work fine, however, I would like to be able to display some type of alert or error message though …

Member Avatar for kburb23
0
178
Member Avatar for newage123

Which one is the better tool for client side validation? I am using java script .Can any one suggests which one is the better? >url snipped<

Member Avatar for kburb23
0
61
Member Avatar for poolmanjim

I have been working a form for work to help manage our inventory and I have been running into a confusing snag. It seems that Internet Explorer 7 wants to thow "Object Expected" errors on every "on" event I specify. For example. [code] function checkText(elem) { if(elem.value.match(elem.name) != null) { …

0
51
Member Avatar for anushka1

Hii i have a situation .i kept button has an image type(and the image will be of forward/backward).whenever the user clicks on the backward button the image should go show that particular image And i Am using sliding show also its working .But problem with that Button type(image) and the …

0
39
Member Avatar for dpl-lax

Hello. I'm having a problem with MSIE6 & 7 browsers. I want to remove or disable the sound("click") than browser produce when trying to open a web page or link in web page. Is this possible? Please help, is's a big problem for me. Have a nice day.

0
50
Member Avatar for lkcl

Folks, hi, I thought you might like to know that there's a way to develop complex web 2.0 applications without having to program a single line of javascript. Pyjamas, a port of Google's Web Toolkit (GWT) will translate a python application into AJAX for you. For convenience, there is also …

0
59
Member Avatar for Coward

hello i have problem with radio in this code [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link href="style.css" rel="stylesheet" /> <script> function add() { var radio=document.getElementsByName("t"); var d=document.getElementById("div"); if(radio[0].checked==true) { d.innerHTML+="<p><input type='text' id='txtfname'><br />"; d.innerHTML+="<p><input type='text' id='txttxtlname'><br />"; …

Member Avatar for Coward
0
70
Member Avatar for Falkoner1

Okay, I am trying to combine the notepad feature from this page: [URL="http://falkoner.cow.googlepages.com/Notepad.html"]NotePad[/URL] With this page: [URL="http://falkoner.cow.googlepages.com/Buildings_to_Crash.html"]http://falkoner.cow.googlepages.com/Buildings_to_Crash.html[/URL] Rather than copying and pasting the internal code from the first page into the second one, I want to put it into my external javascript page, here: [URL="http://falkoner.cow.googlepages.com/FalksMainJavascript.js"]http://falkoner.cow.googlepages.com/FalksMainJavascript.js[/URL] So far I have not …

Member Avatar for Falkoner1
0
159
Member Avatar for JZM

Hello, I would Like to write a ajax page that Autocompletes that shows the most possible choices for what they have typed (using street names). I am going to be using a mysql database.

Member Avatar for ~s.o.s~
0
47
Member Avatar for FlashCreations

Hello, I am creating a feature for a site, that when you click a button changes specified text to a textbox that lets you edit the text. When the user presses enter, the textbox will dissapear and the text typed will be in it's place. This is so I don't …

Member Avatar for FlashCreations
0
138
Member Avatar for Marikalimmas

Hello, help. I wish to look video from a site [url]http://moviesiss.blogspot.com[/url] I start a roller writes error Active X, help. How to adjust?

0
50
Member Avatar for mkhizess

[COLOR="red"]var vYear = document.getElementById('number1').value; var vMonth = document.getElementById('number2').value; document.getElementById('answerYearPlusMonth').value = vYear + vMonth eg. vYear =2008 vMonth =01 answerYearPlusMonth =200801 [/COLOR]

Member Avatar for scru
0
70
Member Avatar for scorpionz

Hi this is Scorpionz How are you doing all hope so fine I am using fckeditor "of type javascipt " in my code. here is the code: [code] <script type="text/javascript"> window.onload = function() { var sBasePath = './fckeditor/' ; var oFCKeditor = new FCKeditor('message') ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Width …

0
65
Member Avatar for kvdd

Hello, I am a bit a loser with JavaScript, but I found the following code to auto scroll a multiple select box to the last selected item. [CODE]Function autoscroll() { var lst = From1.Listbox1 if ((lst.multiple==true) && (lst.length>0)) { if (lst[lst.length-1].selected==true) { lst[lst.length-1].selected=true; return; } else { lst[lst.length-1].selected=true; lst[lst.length-1].selected=false; } …

Member Avatar for kvdd
0
2K
Member Avatar for boyetp

Hi there, I'm new to this forum. I need help on how to maximize a table cell height. First I have a table layout that has 3 rows, the first and third rows have fix 50px height. I want to max the height of the of the 2nd row to …

Member Avatar for kashinathn
0
430
Member Avatar for jobojo

I am new to JavaScript and have what may be a very simple and easy question to most. I am writing a simple block of code that I need to display dollar amounts with 2 decimals for change. For example instead of displaying the number 5, I need it to …

Member Avatar for Shanti C
0
142
Member Avatar for kevin wood

as iframes are now depreciated as of xhtml 1.0 Strict is there away to replace these using Ajax. this is something i have heard off but have never come across and would like to know if this is possible. I have used iframes in the past to display content from …

Member Avatar for fsav
0
146
Member Avatar for anton-shirikov

Hello all! I am just starting Ajax... is there anything i need to install on PC? i already have WampServer 2.0c Thou Ajax doesn't seem to work on it.. thanks!

Member Avatar for anton-shirikov
0
94
Member Avatar for kondaluavula

<h:inputText id="textId" autocomplete="off" style="width:100%;height:100%" onkeyup="getSuggestionValues(this.value)" > <a4j:support event="onclick" reRender="datatable,definition,tagno,ind1_def,cbpossiblevalues,ind2_def,cbpossiblevalues2" /> </h:inputText> <div align="left" class="box" id="autocomplete" style="position:absolute;width:400px;height:200px;background-color:#ffffff; overflow:auto;" > </div> This is my actual code, the purpose is, when i entered a text in the text field, it gives the related suggestion, when i click a particular suggestion then rerender the …

0
42
Member Avatar for momukhtar

I have a Ajax / PHP timer code that would run and update timer on a webpage for 2 hrs. But in IE the time does not refresh and maintain its initial value. [code] <?php function timeDiff($startTime) { $tNow = date("h:i:s"); //echo $tNow."<br/>"; // Extract $current_date h:m:ss $current_hour = substr($tNow,0,2); …

0
37
Member Avatar for boyetp

Hi All, I have a wierd problem in IE6 and IE 7 were the cursor inside a input=text box won't move to the end of the text char. This only happens when you put a FILTER: progid:DXImageTransform.Microsoft.alpha(opacity=100) style of the div that wraps around it. Just put the cursor in …

0
67

The End.