In a input form in a HTML file, the user is supposed to put an URL (let's call it thislink). Then I want, when the user clicks on the submit button, to open a n
I am having an issue with Javascript. I'm getting this error message: Uncaught NotFoundError: Failed to execute 'insertBefore' on 'Node': The node before wh
I want to know that how can I create a download page in PHP that download files without reveling the download link to the file, and source to the file and downl
I'm using a *.js.erb in my Rails-App, which reacts to a clicked Link. But when I render my page, by getting there via a link_to, I have to refresh the Page, to
My current method of playing music through my website is by the HTML audio tags. However I want to be able to play it through HTML button instead. This button s
I hope somebody could answer, is kind of silly question probably... I would like to change the values of monthnames, monthNamesShort. I found I can change the v
I have HTML like: a#clickme{width:20px; height:20px; background:#444; cursor:pointer;display:block; text-indent:-9999px} div.mydiv{width:200px; height:200px;bor
I can't get the enable binding to work in Knockout JS. With the enabled property set to false, the button is not disabled and I can still click it. see fiddle
How do I copy the text inside a div to the clipboard? I have a div and need to add a link which will add the text to the clipboard. Is there a solution for this
I have a web application makes in JQuery + KnockOut that reads all data in a JSon format from a web service. The data are reloaded and reparse every seconds wit
I am trying to combine WTForms with jQuery Form Plugin. With the latter, I bind a form and provide a callback function. On the other hand, WTForms has to do th
Here's the situation: This is a bank website, so when a user clicks an external link (perhaps to a Facebook page or a partner website), there needs to be a box
Hi I've got a JSON object provided by an ajax request. Some of the values inside the json appears as null, but I want an empty String instead My sample of cod
I have multiple checkbox input elements. <input type="checkbox" name="userpages[]" id="1" value="1"/> <input type="checkbox" name="userpages[]" id="2
On my website i need to set 'from-date' and 'to-date'.For this I have 2 text boxes. I used 2 bootstrap date-pickers for the same.Date-pickers are actually worki
I have one input type text: <input type="text" id="policyholder-dob" name="policyholder-dob" /> I want to type number in this field in mm/dd/yyyy form
how can I detect/condition on the first page on jsPDF?? I want to detect the first page so I can apply top margin only on the first page and not on the next pa
I'm trying to create a live search feature in CI (which I've never done before). I'm pretty new to web development and am still learning things. I found this li
I have here an autocomplete function. What I need is if the value that writing in textbox is not match on option value clear the textbox. Here's what I got righ
I have a list of canned emails in a database. "Thanks for becoming a member", "Thank you for your purchase its on the way" - stuff like that. I am using Bootstr