15,127 Topics
| |
I'm trying to do a username availability check on my website, i.e during registration, it checks if a username is taken or still available. However when i execute i get no result at all,nothing happens. My code: **Registration page** ***register.php**: * //this form posts to the same script. //In this … | |
This is my code: <!DOCTYPE HTML PUBLIC "-//SQ//DTD HTML 2.0 HoTMetaL + extensions//EN"> <HTML> <HEAD> <TITLE>Courses Radio Button Project</TITLE> <SCRIPT Language="JavaScript"> <!-- function choiceChecker(){ var message = "A course can only be one choice!"; var returnval= true; for (var i = 0; i < form.Choice1.length; i++){ if ((form.Choice1[i].checked && form.Choice2[i].checked) … | |
Instead of using write, I decided to change to innerHTML. I want to write the variable get inside the id=one, what am I doing [wrong](http://jsfiddle.net/WildWind/9erW2/) ? ps > thanks for everyone who as helped me up to this point, it was very appreciated. Hopefully learning another language will come easier … | |
<script> function a(){ var filename="test.txt"; </script> <img src="img/test.png" title="?"/> How to get the value of "filename" in "title"? | |
hello world, myself kishan kumar, iam new to web developing...my task is interrelated to edit,save & cancel....which is similar to edit button in shine.com...Iam doing in php language.the work is when user clicks on edit button he must be able to edit and after on editing he can save it … | |
Hello, I have read the requirements of this challenge and I have a good understanding of what needs to be done. I am confident that my program works but it DOESN'T. What a blow to my confidence. I am in hopes that someone kind person would point me in the … | |
Hello, I am working on this javascript application to be able to make change. I have my html and css files down good. Here is what I have. <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Make Change</title> <link rel="stylesheet" href="styles.css"> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <script src="make_change.js"></script> </head> <body> <section> <h1>Change Calculator</h1> <label>Enter amount … | |
I am running my node.js server by forever and my script gets killed in 1-2 days and i get this error in the log file: error: Forever detected script was killed by signal: SIGSEGV Now i have many functions in my node.js script. Upon writing a console.log at the beginning … | |
hello world, myself kishan kumar, iam new to web developing...my task is interrelated to edit,save & cancel....which is similar to edit button in shine.com...Iam doing in php language.the work is when user clicks on edit button he must be able to edit and after on editing he can save it … | |
I have 2 input fields that when a user inputs the date in say mm-dd-yyyy format, i would like to have it automatically change to yyyy-mm-dd (ISO 8601 Date Format) the input fields are very simple: <div class="form-group"> <label for="purchase_date">Purchase Date <font size="-3">(Year-MM-DD) format</font></label> <input type="text" name="purchase_date" class="form-control" placeholder="Purchase Date"> … | |
Hello, im making a bookmark script to save on a web page as links. I have the following code but i want to have links movable. That is i want to able to change position on the links. Demo: [Click Here](http://test3.fcab.se/links/temp/index.php) i have tested several Jquery/Java dragg/dropp/sort scripts but i … | |
Can anyone suggest a jquery gallery (free or paid) that is responsive and allows for multiple image albums, but is not a tiled gallery? | |
<script type="text/javascript"> var so = new SWFObject("wmode.swf", "wmode.swf", "550", "400", "8"); so.addParam("wmode", "transparent"); o.write("flash"); </script> <div id="flash">This is some flash content - you'll need the flash plugin to see it</div> | |
How to check whether ant field's value is disabled? in javascript | |
I have the following Flash code running the photo stack at top right in this page: [URL="http://www.adventurecamper.com/#&slider1=4"]http://www.adventurecamper.com/#&slider1=4[/URL] [CODE]<script type="text/javascript"> var flashvars = {}; var params = {}; params.wmode = "transparent"; var attributes = {}; swfobject.embedSWF("http://www.adventurecamper.com/wp-content/themes/adventurecamper/flash/stack.swf", "slider", "650", "260", "9.0.0", "http://www.adventurecamper.com/wp-content/themes/adventurecamper/flash/expressInstall.swf", false, flashvars, params, attributes); </script>[/CODE] I'm not that familiar with … | |
How to create infinite loop of Shuffle Text Effect using following code. It stops after animation is finished. How to start again when first loop of animation is completed? <script src="http://code.jquery.com/jquery-1.6.3.min.js"></script> <div id="container">text</div> **main script** /** * @name Shuffle Letters * @author Martin Angelov * @version 1.0 * @url http://tutorialzine.com/2011/09/shuffle-letters-effect-jquery/ … | |
I'm really hoping someone can help and I should warn you I am javascript novice. I have a login script for my members website that uses Ajax. It works just fine but I now want to be able to redirect the user to a different page depending whether their account … | |
Hi guys, I wonder if you can help me at all, I am a bit stuck here. Having this HTML: <div class="formWrapper"> <h2>Form box</h2> <div class="unstyledForm"> <p>These form fields have minimal styles applied to it, so that tehy look the same in every browser and device</p> <div class="row"> <label class="control-label" … | |
Hello, I have select(/dropdown) list.Below is code <div id="complete_form"> <b>Skill Type :</b> <select id="skill_type_name" onchange="load_div()"> <option value="">Select</option> <option value="Language">Language</option> <option value="Database">Database</option> <option value="Framework">Framework</option> </select> <div id="id_skill_name" onchange="load_other_skill()"> <b>Skill : </b> <select id="skill_name" name="Skill[skill_id]"> <option value="">Select</option> <option value="test language 1">test language 1</option> <option value="test db 2">test language 2</option> <option value="test fw … | |
Hello, I have multidimentional array. like: $skill_array={ Database,test db skill 2,0,1,2014-Mar,ZCZC,1 Framwork,test fm skill,0,1,2014-Mar,axaxax,0 Networking,test db skill 2,0,1,2014-Mar,yt89887i,1 Database,test db skill 2,0,1,2014-Mar,hkjk,0 } while showing this table in UI in javascript, I want to show table in sorted format of 0th index. i.e in above example, it should come as … | |
I want to create simple css3 effect like gallery effect [here](http://livedemo00.template-help.com/wt_47303/) How to create classess * **.animation{}** * **.scaleDown{}** * **.rotateFoldTop{}** * **.rotateUnfoldBottom{}** when menus are clicked **scale down main wrapper**, after **scale down** is **completed** then only **rotateFoldTop** main page & same time **rotateUnfoldBottom next page** (activeTab). After rotateUnfoldBottom … | |
Dear Daniweb, I just got the following [HTML5 music player](http://www.audioplayerhtml5.com/player_blackControllers_WithoutPlaylist_Ex1.html), which gets it's music from a list I provide in HTML like this: <ul> <li class="xtitle">Follow Me Here B</li> <li class="xauthor">Author Name</li> <li class="xsources_mp3">audio/adg3com_freeform.mp3</li> <li class="xsources_ogg">audio/adg3com_freeform.ogg</li> </ul> <ul> <li class="xtitle">This is Freeform C</li> <li class="xauthor">Author Name</li> <li class="xsources_mp3">audio/wm_follow_me.mp3</li> <li class="xsources_ogg">audio/wm_follow_me.ogg</li> … | |
see this [html page](http://jsfiddle.net/samertaha/hRTw6/) cant understand why they populated the anchor with text this way : `a.appendChild(document.createTextNode('Hide details'));` why not this way with the innerHTML method ?? `a.innerHTML = 'View details';` thanks | |
http://jsfiddle.net/samertaha/Y2ULV/ kindly see the visibility sample up here , in the first rows of the javascript , they declared some variables , but i couldnt understand why they declared a variable named toggle with no value or type. thanks. // Get references to page elements and create a link dynamically … | |
how do I do pattern matching for something like `/^(.*)text/` and `/text(.*)$/`? | |
function ty(pcheck) { document.write("I want "+pcheck); } var pcash = 500; ty(pcheck); Can the outside variable have a different name and the function still call it ? I read it can, so when I attempt it, it doesn't work ! function hu () { var one = "today"; var two … | |
Hello, I want to creat array/s in javascripts. But array/s numbers (how many to arrays to be created) is depend on dropdown div length. I have calculated length of dropdown list using `$("#skill_type_name option").length)` But how to create arrays in javascripts in foor loop. array names can be array1[] array2[] … | |
I wanted to start learning to scrap data from web and someone told me to use [htmlunit](http://htmlunit.sourceforge.net/gettingStarted.html) if you go the the website the first page is using java to run the htmlunit and there is no example about how to add the htmlunit jar files to javascript and how … | |
Why won't this object, loop won't write ? function lw (bat,bat2,bat3) { this.bat = bat; this.bat2 = bat2; this.bat3 = bat3; } var what = new lw ("one","two","three"); for (var apple in what) { write(what[apple]+"<br/>"); } | |
Hi all, I have recently made a ajax script that works completely. It updates the database as required on click of the FU anchor. In the middle of the form I also have a yes | no option that copies the billing address to the shipping address, which also works. … |
The End.