17,115 Topics
![]() | |
Hi Folks, I have created a text box dynamically using javascript. Now i want to call a javascript function in the OnChange Event Of that Control is there any way to do the same.?? Here is the code what i tried. [CODE] el[j] = document.createElement('input'); el[j].type = 'text'; el[j].name='work'+j; el[j].onChange='lookup(this.value)'; … | |
hi all. i hope someone could help me. i'm trying to build a bidding site using ajax, and php. what i want to do is that: when the bid time is over 5 minutes, the "div" i've placed will refresh every 10 seconds, and when its under it will refres … | |
I now currently using aptana studio to create a mobile widget. I have created a event calendar. On click on a date, the event details will be display. the event details is currently stored in a list array. Now I would like to create a reminder function. For example, two … | |
I've only just started playing around with Javascript, so don't mind what I say if I misuse a term or ask to do something that's impossible. I'm having a problem opening a program through Javascript. I want the script to start a game that people can play. I'm using the … | |
Hi all i want to let the user draw image or drawings on web page using html canvas element like stuff and then provide them to save that image or drawing on server so that next time they can get it as it was before to edit further. Please let … | |
Hi, I have a quick question. Does anyone have a script where I can rotate between 2 Javascripts when a page loads for split testing. So when page loads once, javascript A will fire. On next load, javascript B will fire and so on. I have found lots of banner … | |
My friend asked me to convert a doc file he sent me into html. He said he wanted it to look exactly like the doc. So I put <br /> in between the lines so the text appears like the one in doc. But he says now the text looks … | |
Hi, I am new to ajax and was taking look at code snippets. Most of the code open and send are like this: [code] var client = new XMLHttpRequest(); client.open("POST", "/log"); client.send(message); [/code] They open a connection and send the msg. Isnt connection open a costly call since the connection … | |
hi, i need to use HtmlAsText as a background tool in my javascript coding.i need to access this tool without user interaction. then i have to code the command line that can access HtmlAsText. htmlastext.exe /run "c:\temp\convert.cfg" | |
I m getting problem while creating a dynamic website. In Ajax I have good tutorial book. but it missing, "how to create XML file filled with data which comes from SQL server. Second thing is that: How to retrieve the data from XML file. Please Help out me for this … | |
how can i use [URL="http://www.w3schools.com/HTMLDOM/met_win_setinterval.asp"]setInterval()[/URL] to make a slideshow of images with the code i have now that only has thumbnails that display in one big div(larger pic of the thumbnail) when the thumbnail gets hovered over.(onmouseover) this is the javascript function.: how can iuse set interval to make the … | |
hi, everyone i would like to learn more about parentnode and childnode (with exaplanation) with the tutorials The reason i am beginner i dont understand this properties does anyone help | |
Hello Friends, I have an <img> Tab to play a video(of type .wmv). The image tag is as follows: <img border="0" dynsrc="Test1.wmv" start="fileopen" loop="1" width=1081 height=838> Everything works fine, but now I need to play a video list (up to 5 videos). As soon as one video stops another video … | |
Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop … | |
Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop … | |
javascript is new to me. i've to develop software using javascript. i know how to read file in javascript activeX. but i dun know how to input files in javascript activeX. | |
Hi all, Iam trying to tigger some file which will be working in backend once the window is closed in php. Iam using onunload function in javascript but it triggers the file once we leave that particular page only. If we closed the window it didnt do anything. Anybody have … ![]() | |
I have phone area textbox and i want to test it against values like 1111111 or 9999999. I want at least 1 character to be different in this text area(it is exactly 7 characters long) How can i do this in its shortest way? | |
on firefox its working. on ie it gives me error on page.. how to solve it? | |
hello, can i check with you all,how do i code to get the parameters from textbox in javascript and pass the parameters to the servlet after a button is click. thanks camilia | |
This is my first project using JavaScript. I have a PHP page that loads text fields "if" called for. I thought JavaScript would be a great way to get the total of all Text Fields without Submit. The code below is an example of my problem. [CODE]<SCRIPT language = JavaScript> … | |
i have html files at C:/Documents and Settings/USER/Application Data/Mozilla/Firefox/Profiles/ksx3y6oy.default/bookmarks.html. the html files is in my hard disk. then how im going to called the html files to be an input in my javascript coding.someone please help me | |
and how do i achieve the whole edit the post without reloading the page? | |
Hi all, I am New in Javascript and Not Having too Much Knowledge of Javascript. I Have a Javascript That Disable Enter Key in Textarea in Whole Form in Page. but I Want to Disable Enter Key only One Textarea. Below is my Code: [CODE]<html> <head> <title>The Title Of Your … | |
I have been working on an email validation functions that would validate the e-mail and I am having problems communicating the "EmailState" from the ajax. The state the php gives is 1 if the email address exists and zero if it doesn't. I do this check with Email_Exists() and when … | |
I have a question I am have been googling all day with no examples I can use and need to come up with something. I want to have a Javascript session timeout which does it's own internal countdown ie: 5 mins left before your session expires etc I then would … | |
Im not sure if this is a php problem or javascript, but since the actual photo gallery is run by javascript I'll post it here, sorry if its not though. Everything works fine but when I click on another image to change the main image the caption wont change with … | |
First a little background. I have a client (in-house) who insists that our training pages (launched from within iframes on a parent page) be able to load .wmv files with variables for the width and height parameters so we don't have to recode when videos are switched. Flash videos are … | |
I'm having a problem with IE, while it works in FF: the var doesn't save any \n aka enter. I have the following code: [code] <script type="text/javascript"> function addu() { var message = window.prompt("Enter the text that needs to be underlined below"); if (message != "" && message != "null") … | |
I have, <input type=text> inside a table.. The table is static... how can i in a javscript function, retrieve number of rows.. which will also be number of textboxes.. | |
I have this code to open a new window and pass a div's content into a div in the new window: [code] <script type="text/javascript"> var changeIt, print_div; changeIt = function() { print_div = document.getElementById("sec_content").innerHTML; newwindow=window.open( 'targetpage.html', target="_blank" ); setTimeout('newwindow.document.getElementById("print_content").innerHTML=print_div',100) }; </script> [/code] but for some reason it's not working online … | |
[URL="http://www.webtoolkit.info/ajax-file-upload.html"]http://www.webtoolkit.info/ajax-file-upload.html[/URL] i see the javascript but i see nothing about the actual upload process. is there a place to add it in or what im confused | |
New to javascript I was looking for a help I have a web application where it does not accept double quotes, If the user inputs " (double quotes) it should prompt that double quotes are invalid and instead use ' single quotes Any advice would be helpful | |
e.g. i have 4 images... i'm trying to do onclick i swap id's(mysql) with the next onclick(image).. basically just swap id's but its activated by javascript onclick. the javascript part is what i'm having trouble with because you can't write mysql statements in a function.. any help | |
Hi there I have a set of radio buttons each with an onclick event that has a numeric value. When the button is clicked an input box called "Total" is updated with the new value. The problem I'm having is that if a radio button is checked and one clicks … | |
Hi I need an onHover effect for a blog. I would like it to look similar in design to daniwebs. (where you roll your mouse over the title and the box appears with the first few lines of text from the topic) Could anyone suggest some code for this ? … | |
Hello, I have one question again if i dont disturb you thank you very much you helped me with your help i created one table again and in this table i added some another options for ex at the previous table there were only one problem sum of the dynamically … | |
Hello... I can't see why this form is not working, when I generate if from a php script through Ajax. I made a test with the same code written directly in an html document and it works ok. Would appreciate any help. This is the code that generates the html … | |
Hi not sure if its technically a timeout but I am building a sliding jquery nav, the sliding is fine. theres 4 buttons you can click whatever one and they will slide into place even if they are in the middle of sliding, cool. BUT they each also open a … | |
I Need a script that will change the name of a file when it is getting downloaded. for example: the file getting downloaded has a name "File.mp4" and when the user downloads it i need it to be "Title.mp4" | |
Hello. I'm using AJAX for all the updates to the web site I'm building and it works very well. But now I face the need to: 1) Upload a file (an image or video) to a folder in the server. 2) Insert a row in MySQL with the name of … | |
I'm using a Javascript gallery (runs on Prototype library) that populates a caption field if the user has entered a caption for an image. I need a little bit of code to hide the caption's div entirely if the user hasn't entered a caption for a particular image (var 'caption' … | |
hi fellas.. my problem is i dont know how to get and read html file using javascript. my html file is in file://C:/Documents and Settings/USER/Application Data/Mozilla/Firefox/Profiles/ksx3y6oy.default/bookmarks.html. i dont know how to access the html file. | |
Hi all, I saw a image opening effect that I like so much. And I would like to ask if anyone knows how can I do this. The page I have seen the effect is : w w w .hypersys.gr Thanks a lot | |
hi guys, how to make an image/text to scroll as the user scroll the page also? for example if the user scrolls down image/text also scrolls down and when the user scrolls up image/text also scrolls up.. any ideas on how to get started? thanks in advance.. :) | |
![]() | Hi, Below I have code that contains ajax on a JSP. The JSP runs the Servlet which gets a parameter from the JSP and returns the exact same input field's value. For some reason, it is returning a null though. Can someone please assist? Servlet: [CODE] package Web; import java.io.IOException; … ![]() |
here is the code i am using, [code=html]<html> <head> <script type="text/javascript"> function University() { var mylist=document.getElementById("myList"); document.getElementById("favorite").value=mylist.options[mylist.selectedIndex].text; } </script> </head> <body> <form> Select your University: <select id="myList" onchange="University()"> <option>Brunel</option> <option>Kingston</option> <option>Kent</option> </select> <div id="Layer1" style="position:absolute; left:368px; top:175px; width:257px; height:100px; z-index:1">Your University: <input type="text" id="favorite" size="20"></div> </form> </body>[/code] i want the … | |
hi.. im trying to validate a registeration form using javascript.. i successfully validated all the textbox individually by using onblur event... but when i click submit button, without entering text, or without even touching the textbox, the Form gets Submitted.. hw can i stop this... plz tell me a solution... | |
Hi, The form consists captcha and it is validating well. After validation the form is not submitting. do any one help me. as it was a urgent task.thank you in advance. [code=html]<form name="contact_us" id="contact_us" method="post" action="feedform_mail.php" onSubmit="check(); return false;" enctype="multipart/form-data"> <input TYPE="hidden" NAME="recipient" VALUE="formmail@bodyrotic.com.au"> <input type="hidden" name="missing_fields_redirect" value="http://www.bodyrotic.com.au/pages/feedback/feederror.htm"> <input TYPE="hidden" … | |
i'm trying to do onclick row(result 1) swap with onclick row(result 2) in mysql.. here's what i have so far [code=php]<div class=\"rollover\"><a onclick=\"Swap($number)\"></a></div> <script type='text/javascript'> function Swap(number){ } </script>[/code] the variable $number determines the row.. How do i switch two rows in with javascript? I'm thinking after clicking twice... they … |
The End.