17,115 Topics
![]() | |
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 … | |
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 … | |
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 … | |
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] … | |
I am doing my final year project. So I need some AJAX project titles. Please send me some if you have!!!!!!!!! | |
This is my first forum post ever, so I'm not sure exactly how it works. I'm looping through the code below to create a list of links that will open a new window with information about an event. The code below seems to work fine in firefox but displays very … | |
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 … | |
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 … | |
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 … | |
hi all ,the code i write below display report on selection of some field below it.my problem is that i want to print this report but controls are also printing with report.i want that only report will print. please help me to solve my problem............can i transfer report to other … | |
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........ | |
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 … | |
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< | |
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) { … | |
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 … | |
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. | |
I am trying to get Google to show my title and meta description but it shows the description from dmoz.com. I have the meta data "noodp" in my <head> but it is under some JavaScript. Also the page redirects due to session id passing and cookie sessions for tracking purpose. … | |
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 … | |
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 />"; … | |
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 … | |
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. | |
I am going to have to go through about 2000 lines of ajax and javascript code because IE is so special and doesn't have to do things the way everyone else does. Damn it!!! Sorry, couldn't find the venting forum. | |
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 … | |
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? | |
[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] | |
i have a menu that has product IDs from a data base and I have a price text box that I wana get the price of that product from the data base on the menu change. HOW can i do this ?? plz help me so far this is the … | |
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 … | |
Hi I am facing an issue regarding ASP.net validators. I have a web page which contains 3 textboxes,one drop down list, one radio button and a button to submit the form.Some times the validators are not fired on submitting the form. I checked the validation group and it is correct. … | |
Hello pipo Iam pretty new at php.I implemented a log in page as shown below: <?php session_start(); include("./connect.php"); // start the session $errorMessage = ''; if (isset($_POST) && isset($_POST)) { //--------------------------------------------------------------- if (isset($_POST)) { // if form has been submitted //check out the fields if (isset($_POST) || isset($_POST)) { // … | |
Is there any way to disable saveas option in IE browser I found a site where they disabled saveAs in IE [url]www.totaram.com[/url] how did they actually do that can this be done using javascript...or any other mechanism I want saveas to be disabled when users see my site in IE | |
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; } … | |
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 … | |
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 … | |
hi guys, im building an e-shop website and i have alot of pages there. Here's how it works... The client will surf the site, choose the product he wishes to buy and checks on a textbox that says "add to cart". now when he chooses all he wants, he then … | |
Right, my problem is that i want to place a hyperlink (or a button, i am not really concerned about what it looks like for the time being) within a quite large form that i want to use to pass some variables to another page. I have already tried something … | |
Hi, I'm not sure which forum to put this in, so I'll take my best guess. I have an ASP.NET page where when an ASP.NET button is clicked, it (among other things) fires a one-line JavaScript to open a pop-up (separate) window that the user can do things within. This … | |
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 … | |
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! | |
<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 … | |
Hello Every Body I Am Using PHP AND JAVASCRIPT i am using two images on my page at run time 1. first i drag one image on another 2. after that i write some text using a prompt box which is written on the dragged image at run time 3. … | |
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); … | |
Hi, i'm Domenico a.k.a. [B]BlackGlass [/B]:D i'm 17, and i'm from italy. I'm a webmaster, and i have a site, i've studied HTML, PHP and a little bit of JavaScript, but not so much... I registered because i think that this site is very interesting, and i would like to … | |
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 … | |
Hi please help me,I am kind of new at php. This is what i have to do please ,provide me with a code if some one can 1)I have files named like 10.txt,9.txt,7.txt etc..//only text files 2)higher the number of the file hisger the priority 3)i just want to use … | |
My head is telling me that the answer to this question is going to be NO, but hopefully i m wrong. I have a servlet which gets redirected using RequestDispatcher to a jsp page, the jsp page has some html input fields. In the servlet i get the values from … | |
Hi Friends, I am Amit, I registered because this site is very helpful and interesting. I myself is a software engineer, I know C, C++, Html, Dhtml, JavaScript, and C#. I am assure that this site is definitely going to help me. Hi Friends, i am the user of this … | |
how can i restrict the non integers entered on the textbox on the gridview using javascript | |
Hi, I have a web site in which I pass many javascript variables to php and the other way round. This is my last passing variable challenge, and I cannot figure it out. There's an alphabet letter that i pass into showhide1(v) function, and i try to pass it to … | |
Im developing a web page, where i can drag one image upon another background image and merge them... my problem is , i want to know the position of dragged image by the user.. im using php and javascript functions to develop this... please anybody know about this ..please get … | |
can anyone tell me why this does not work: [code=text] <div> <table> <FORM name="search_form" method='POST' onSubmit="return validate_form();" ACTION='jobsearch.php'> <tr><td>keyword:</td><td > <INPUT TYPE='TEXT' NAME='keyword'></td> <td>Industry:</td><td > <select name="cat_id"> <option value="">---select one---</option> <option value="1">Accounting</option> <option value="2">Administration</option> <option value="3">Automation</option> <option value="4">Banking</option> <option value="5">Biotech</option> <option value="6">Bussiness</option> <option value="7">Construction</option> <option value="8">Construction</option> <option value="9">Consulting</option> </select></td></tr> <tr><td>city … |
The End.