15,120 Topics
| |
Hey guys im looking for an image rotator script with links, so every time the page is refreshed a new random image is displayed. The thing is, i need a script that doesnt have the location of the images in the script. I need a script like the current google … | |
i'm having problem displaying number of points scored in a game for every one right answer users scores 2 points... and i'm having little problem in displaying these points in a box below the game :( can any one help me out on that one thank you :) [CODE]<!DOCTYPE html … | |
ive been searching for a triple combo dropdown script with go button and cant find one! i found a double combo([url]http://www.javascriptkit.com/script/cut183.shtml[/url]) but im aiming for triple which they can choose country, State and city need help! | |
i just want to implement traffic calculator like this i want to implement Google map traffic calculator how plz help me i want like someone select a vehicle from drop down and in second and third drop down pickup and drop off location and when click to submit button a … | |
I simply want to input some from data into my javascript library. The form has the name "signup" and a link has on onclick property to call the "interface_signup()" function in javascript shown below. This is obviously a ridiculous way to do it, but my attempts to use "this" or … | |
Hello, I am trying to track down an issue with some content in a couple of popups generated with j-query. If you go to [url]http://streetkids.zuka.net/sandbox/map-new.05.html[/url] and role over and click on ethiopia on the African continent, you will get a map that pops up. On the map you will see … | |
<html> <head> <style type="text/css"> #apDiv1 { position:absolute; width:595px; height:298px; z-index:1; left: 412px; top: 38px; } --> </style> </head> <title>safarina JavaScript</title> <body align="center"> <div id="apDiv1"> <script type="text/javascript"> function MM_validateForm() { if (document.getElementById){ var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments; for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=document.getElementById(args[i]); if (val) { nm=val.name; if ((val=val.value)!="") { if (test.indexOf('isEmail')!=-1) { … | |
I am able to incorporate CSS into the HTML, like this: [CODE]<tr><td [B]style="background-color:#FFFF00;"[/B]>test</td></tr>[/CODE] How can I incorporate CSS into javascript? [CODE]document.writeln("<tr><td [B]style="background-color:#FFFF00;"[/B]>" + "test" + "</td></tr>");[/CODE] The javascript code doesn't work or this is it even possible? Thanks | |
I have an Ajax Tab Panel on my webpage with three tabs in it. On my first tab i have some textboxes. Now I want to give Alert message to user if user navigates to another tab after changing value of any of the text box. I want to perform … | |
So, basically I'm trying to fetch part of a json feed and output just that. Example, theres a bunch of posts, comments, and an image on the post. I want to only fetch the image. I've started out with [CODE] document.getElementById('url').innerHTML= url.value; r=function(data) {url=data['results'];};[/CODE] html [CODE]<script type="text/javascript" src="http://www.com/search.json?q=word&callback=r"></script> <style type="text/css" … | |
i'm having little problem here, i have got timer here that counts down from a set time, but what i want to do now is instead of having timer, i just want to make a counter so if(counter=10) stop the game, and not when time = 0 [CODE]<!DOCTYPE html PUBLIC … | |
I want to put on one of my HTML pages a message box with editing options, just like the one you are using in any forum to post a message (with options like -bold, italic, underline,font color, font size, adding files, etc) where can I get a ready code? | |
I am using facebox to display a contact form, however when the user selects submit I would like the action which for this example I shall call action="contact_send.php" to also open in a facebox. Currently it is easy to open a link into a facebox by declaring the rel attribute … | |
i have a form on submit.php, with method post to the same page($PHP_SELF). If i made a mistake i want to be able to press 'Go Back' to the previous page(same page) and have the values in their textfields. [code] if(isset($_POST['new'])) { <a href='#' onClick='history.go(-1)'>Go Back</a> } else { // … | |
Hello all, I am using the zoommap plugin to develop an interactive type map. I am also using the maphilight plugin to create imagemap rollovers/popups. So the functionality is: a world map; rollover a country, it hilites, shows the name of the country. When you click on the country, a … | |
im using ajax to load the values into combo box two after the user chose a category from combo box 1. but the contents are not loading in the combo box one. i do know how to do it in php but using html form cant make it work. the … | |
I am making a magic squares game with javascript. When I click on an image and the function move is invoked I get the following error: Message: 'target.id' is null or not an object Line: 32 Char: 2 Code: 0 As you can see in my html the images do … | |
Hi, I have to go back to specific page(html page) using backspace button in javascript n html.plz help me. | |
Hi all, I've been struggling with different ways to solve a problem for about a week, and as my attempts have so far been fruitless, I figured I would turn to DaniWeb for some help. I have an unordered list <ul class="navigation"> where each list item contains some links. Example: … | |
Dear All, I have implemented a page based on tabs. Now how to submit the data is it just have the submit button on the last tab is it? On the other hand how best to show the error because there might be some fields not fill in the first … | |
Hi frens, i have a requirement, where on selecting a option from dropdown, next 2-3 text field should get populated with data from db(without refresh), i managed to get this this thing to work using ajax/jquery, but i am not able to display the data in their respective fields, its … | |
Hy guys i know there is one thread about validation ... but i cant find what is messing up this simple form ... cant get correct result .. iam new in javascript so if you have any idea or what is wrong would you let me know .. i understand … | |
Hi there. I'm currently working on a Games website, where most of the games are in EXE format. Does anyone know of a way to make it so the customer can click a link to start the game instantly without haveing to [download-save-open] the file... Or does anyone know of … | |
Hi, I am writing a web site in vb.net. I need to show javascript confirm box before data is inserted. so if cancel is pressed program flow stops, otherwise data is inserted. quick help will be much appreciated !! :) | |
hey, i started learning javascript programing n i wrote this simple code to test, it isn't working, here's the code :- [CODE]<script type="text/javascript"> { function mltest() { var fnmae=document.myForm.fName.value; var mName=document.myForm.mName.value; var lName=document.myForm.lName.value; var rtxt; rtxt="Your full name is : "; rtxt+=fName; rtxt+=mName; rtxt+=lName; var finalName=""; document.myForm.finalName.value=rtxt; } } </script> … | |
app: [url]http://apps.facebook.com/brainchecker[/url] this was just for learning experience I am having trouble with how to get the permissions dialog open directly instead of that initial go to facebook.com page which directs me to the dialog | |
Hello, I want to ask how to retrieve the value of javascript variable in PHP, like this: [code]<script type="text/javascript"> var data = "12345"; </script> <?php $phpVar = $data; ?>[/code] thanks | |
Dear ajax expert, [URL="http://www.w3schools.com/php/php_ajax_php.asp"]http://www.w3schools.com/php/php_ajax_php.asp[/URL] Refer to the link, using the sample, I'm able to use php ajax to populate 1 text box which I've already pre-define (not using "echo '<input type='text'..") -- the info came from a table e.g. Search: [jo ] Name: [John doe] sql --- select name from … | |
i am submitting a form in javascript and i want it to submit on key press submit, but it wont work. here is my code: [CODE] <script type='text/javascript'> function login(evt){ if (evt){var keyCode = evt.which ? evt.which : evt.keyCode;}else{keyCode='';} if ((evt == '')||(keyCode == 13)){ if (document.forms["login"].email.value=='') { alert('You must … | |
Hi, I am working with PHP. I have a field in my form, which is basically a text box. But as the user start to type it will show a list of matching items, fetched from mysql table. I can have a drop down, but in a drop down , … |
The End.