15,120 Topics
| |
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. … | |
I m new to javascript and I m little bit confused on how does a webpage read the actual script. let's say I have the folowing code: <script> vrijeme = document.getElementById("Label7").innerText; minute = vrijeme.substring(0, 2); sekunde = vrijeme.substring(3, vrijeme.length); alert("fuck you"); var start_time=setInterval(secondFunction, 1000); function secondFunction() { sekunde = sekunde … | |
So I'm trying to use a free service to get the visitor's location and redirect them to the proper page. The problem is that these free services don't always work; freegeoip has a limit of 10000 requests per day and I'm not sure about telize. What I want to do … | |
I am baffled at this webform on my responsive site which works perfectly fine in all iOSdevices and android tablets. However on android smartphones, specifically samsung s3/s4 -when the text box is clicked- the keyboard appears for less than a second then suddenly disappears. Should a set focus rule be … | |
I have formatted a string date into date format by using <script type="text/javascript"> var st = "26-04-2013"; var pattern = /(\d{2})\-(\d{2})-(\d{4})/; var dt = new Date(st.replace(pattern,'$3-$2-$1')); alert(dt); </script> and it's output is `Fri Apr 26 2013 05:30:00 GMT+0530 (IST)` but I want out put as `2013-04-26` how can i do … | |
i am making an online quiz that has a countdown timer plugin: https://code.google.com/p/jquery-countdown/source/browse/trunk/js/jquery.countdown.js?r=3 everything is fine but if the user log out or close the browser then the timer will reset back to the default given time. i would like to know how to get the value of the timer … | |
I am using upload services and i have to use a request over http due to which IE gives me "Mixed Content" popup. My client do not want this. Is there any way to hide or handle it through java script or in Jquerry or C#? Additional Info: Web Application … | |
Hi I want to rename Image in this script after downloading ,now it downloads as default Want to rename it to x.png Any help appreciated Saw a way via PHPserver,but Im using JAVA App <html> <head> <script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/rgbcolor.js"></script> <script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/canvg.js"></script> <script> function getImgData(chartContainer) { var chartArea = chartContainer.getElementsByTagName('svg')[0].parentNode; … |
The End.