14,053 Topics
| |
Hi Daniweb, I have a checkbox that is dynamically generated using php using inputs on previous pages. <form name=partselect action="JavaScript:checkmate()" method="post"> <table> <?php while(oci_fetch($stmtgp)){ $idpart = oci_result($stmtgp, "PART_ID"); $stmtparts = oci_parse($conn, "select * from PARTS where PARTID='".$idpart."'"); $execparts = oci_execute($stmtparts); if(!$execparts){ echo 'unable to fetch part'; } oci_fetch($stmtparts); $tpartcost = … | |
i want to redirect forms like bit.ly/XXX and bbc.in/XXX into bitly.com/XXX, can anyone write a greasymonkey script here? thanks a lot. | |
When mouse is on image display one value from array inside **thought** div's span. Show next value each time. When values ends start with first value [something like this](http://jsfiddle.net/W4fm9/) , but when hover on image var arrValues = [ "one", "two", "three" ]; <img src="images/thinker.png" /> <div class="thought"><span></span></div> | |
Hallo, How to create a check mark (V) if status is enable and a cross mark (x) if status is disable. I basically trying to create a CMS for an article. Therefore, if the article is not viewable by others (disable x) or viewable (enable V). Lol. I don't know … | |
I have a simple menu like this **HTML** <div> <ul> <li> <a href="#">Demo</a> </li> <li> <a href="#">Demo2</a> </li> <li> <a href="#">Demo3</a> </li> <li> <a href="#">Demo4</a> </li> <li> <a href="#">Demo5</a> </li> </ul> </div> **CSS** ul li:nth-child(1){border-top:4px solid red;} ul li:nth-child(2){border-top:4px solid pink;} ul li:nth-child(3){border-top:4px solid blue;} ul li:nth-child(4){border-top:4px solid orange;} Now … | |
[www.unitedinblue.com](http://www.unitedinblue.com) There's a lot of JS and ajax and extra scripts and things (far as I can tell at a first look) on this website, some of which don't even seem to serve any purpose. If you look in the source (via Inspect Element, not actually viewing the page source, … | |
there are two properties for my bike method.front gear and rear gear.i want another property which will be a new property called gear ratio property which can be obtained by multiplying front and rear gear numbers.the code i have written giving continuous error.how it can be fixed. <html> <head> </head> … | |
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 |
The End.