0
votes
1answer
33 views

How to use href of an anchor with AJAX page navigation

I have the following problem: I'm trying to create a HTML5 page based on pure AJAX page navigation. So I have on main page called "index.html". This one holds my css, scripts and the menu. The menu ...
0
votes
1answer
21 views

Save Form using localstorage HTML5

Is there a way to Save from into localstorage and reuse it again, like this logic: form ::::::::::::saveINTO:::::::::::::::> localstorage form <::::::::::::getFROM::::::::::::::: localstorage ...
-2
votes
2answers
56 views

Button not working using java script

I added html code using javascript. All the headings and divs are working fine except the Button. The Button is not added or may be not working for some reasons. Please check my code give some ...
-3
votes
4answers
35 views

Solving PHP+JS with search on mysql [on hold]

Im using PHP to connect with the database(mysql) and do the query and stuff, and im using jquery to do some onchange events. I have a form with 2 combobox on html, i want that my second combobox get ...
0
votes
2answers
30 views

jQuery remove class from duplicate item

I have a jQuery work around to allow links to activate their sub menu on a mobile device without navigating to the clicked link till the second click. jQuery('ul.nav > li.parent > ...
0
votes
0answers
17 views

Bootstrap 3 : How to I collapse and toggle magento navigation and other links on header to one nav bar?

Im been trying to get this to work but im just making a mess. How do i collapse and toggle all magento header links including search bar to one organize navbar when viewing from a mobile device? Im ...
0
votes
1answer
35 views

how to store the checked value from checked box and radio box in local storage

I am using JQuery Mobile I want to display the value in another page which i get from local storage It Should been check which is been checked in page1 In HTML5:- <div data-role="page" ...
0
votes
1answer
19 views

Setting an Image on left Side of Page for Social media Link

I am creating an web application for ipad where I want to give the Social media link on the left side of page. If my page is scrolling , in that case also the link should be fix permanently. Can any ...
0
votes
2answers
19 views

Jquery copyed html class with specific index unable to identify click event

Hi every one i am new to JQuery.i have a problem with click event.i am taken temearea_div as a container when ever rightclick passing an argument(classname) with that clearfunction is executed and ...
-1
votes
1answer
32 views

How to fill automatically another text box value from one text box value using ajax

Hi I wanted to place search box like just dial site when we type the company name it will automatically fill the city name in the another text box ...
1
vote
2answers
37 views

Jquery event delegation not working

I'm trying to update my div values based on the value clicked/ entered on the respective popovers. I've a message reading "I am single with no kids" where on clicking single a popover appears with ...
0
votes
2answers
17 views

jCarousel not calculating width properly with newer jQuery version 1.10.2

I have just updated my jQuery to the last one and suddenly I saw the broken jCarousel. Can somebody point me to the right direction on what is wrong/changed because I spent hours trying to make it ...
0
votes
0answers
7 views

Collecting information from an external website and putting it into an iframe on a windows 8.1 app using javascript

Hello I am developing a Windows 8.1 application using HTML5 and javascript and I am wondering if there is a fairly easy way to 'grab' a div and its contents from a external website and put the data ...
0
votes
2answers
14 views

How to show a Badge on menu

I saw on some sites they have a menu and their is a small badge which shows number on the menu. Does anybody knows how that is shown. I am developing a web application using mvc and razor syntax. Now ...
0
votes
0answers
11 views

Custom JQuery UI Slider showing different content

is there a way to get a JQuery UI Slider to look like it does here: rssvoyage and have it as a "timeline"? So on your page you would have this slider, and you can post along your timeline like on ...
0
votes
1answer
18 views

Append a split button Listview using jQuery Mobile

I have a little function that takes an input text and appends it to a listview, it also adds a "delete" button that when pressed it removes the element from the list. Please find a working example ...
0
votes
0answers
20 views

<audio> does not play after 1 minute

I have attached a mouse click event to this function: play: function(sound) { var that = this; var aid = uniqueid(); var audio = "<audio id='" + aid + "' src='" + globals.wwwroot + "sounds/" ...
0
votes
1answer
33 views

How to adjust the page header to work properly in iOS6 and iOS7?

The new iOS7 status bar overlaps the header of my application, and the navigation buttons are partially covered. However, it looks beautiful in iOS6 and I refuse to just add a margin/padding for iOS7 ...
-4
votes
2answers
29 views

CSS Gradient Simplification for All browsers [on hold]

Why i need to use both the -moz-linear-gradient and -webkit-gradient for gradient code in css instead of writing gradient code in single line for all browser compatibility? If i using 10 different ...
0
votes
1answer
19 views

Continuously generating particles and making them follow the same path

I'm trying to generate an object (something like particles) and make it follow a particular path. I have already created one particle and made it follow the path that I wanted. My problem is that I'm ...
1
vote
2answers
44 views

Is it possible to fire touch events when page load(In onload function)?

I am not getting how to call touch events when page load. I have tried with below code but event is not firing. Can anybody tell me where am I doing wrong? $(window).onload = setTimeout(function () { ...
-1
votes
0answers
18 views

Simple card editor app in Javascript [on hold]

I am looking for simple business card editor script that will allow to add shapes, text and images to the canvas. By "canvas" I do not necessarily mean HTML5 canvas but any element that can be used ...
0
votes
0answers
28 views

Ajax error using JQuery 2.0.3 on mobiles

I have written a mobile HTML5 website using standard jQuery. I have an ajax request that seem to not be executed. $('.btnSubmit').on('click', function(){ //this appears ...
1
vote
1answer
32 views

Diff. between required in HTML5 and required in jquery validation plugin

I use jquery validation plugin for validation.all works perfect. first i clarify some things: (1) first i use required in textbox (not added jquery.js and jquery.validate.js), it works perfect. ...
0
votes
2answers
25 views

Phonegap multiple form calculate on single page

I am having problem with creating tool for my app as I have about 50 input fields. i have created a single html5 file in dreamweaver with phonegap build file is rendering on real device and emulator ...
0
votes
0answers
9 views

Is it possible to make a column fixed against horizontal scrolling in kendo grid?

I have a kendo grid with many columns, so I enabled horizontal scrolling. Scrolling working fine for all my data column. I have a command column containg an edit button for all row, when scorlling ...
0
votes
0answers
19 views

not able to send my JSON form object to the server using xmlhttprequest send in Jquery

I am trying to get a JSON payload to my client from past 24 hours but in vain.My server is hitting a HTTP response of 204. My Code: <head> <meta charset="utf-8"> <link ...
-1
votes
4answers
42 views

removing/deleting all the child elements in a html form

Hello all I have a form and some 20 input elements inside it, On a particular event i want to remove all the elements inside it. I don't want to use remove()/removeChild() as i have to get each and ...
1
vote
0answers
47 views

Error: Syntax error, unrecognized expression Jquery

I'm developing a web application using Html5 and jquery. I'm getting this "Error: Syntax error, unrecognized expression: #chapter?book=Exod&num=1" error when I'm trying to navigate from current ...
0
votes
0answers
32 views

single page app + canvas (HTML5 + CSS3)

I'm currently working on a project which I have to develop a single page app website. I already understand the concept of multiple div and single page app but the question is: can I use HTML5 canvas ...
0
votes
0answers
31 views

Jquery, Local Storage, and Changing Links depending on Checkboxes

First of all let me state that my coding experience is very little, which is why I'm coming here in the first place. I have a javascript/html 5 issue and/or question. I would like to have local ...
1
vote
0answers
16 views

storing a time html5 input value

I am trying to get the value of an html5 time input including the AM/PM. using jquerys .val() outputs only the time. JS var $time = $('#start-time-dialog').val(); HTML <input ...
0
votes
0answers
11 views

html5 server sent events EventSource not recognized

I am trying to create a demo project with HTML5 server sent events, I have created a generic handler that will generate data (random numbers) to be sent to the client side. I have also created a ...
-1
votes
2answers
31 views

Dragable Arcs HTML5

I have a radar graphics on a canvas with arcs on in it as bubbles. The bubbles are static. I need to make the bubbles dragable. The html, css and javascripts are in the following link: Kindly help ...
0
votes
3answers
16 views

Using URL fragment to determine which jquery function is run [on hold]

I want to link to a page like (domain.com/page#loadThickBox1) and have it run jquery function that loads a thickbox by default. What code do I need to run to accomplish this? For instance, these ...
0
votes
1answer
19 views

Is there an easy way to create a month/year date picker that shows multiple months at once?

I have a web application which requires a month/year date to be entered (day of the month does not matter). Currently I am using an input of type month: <input type="month"> This renders ...
0
votes
1answer
25 views

Why doesn't anything show up in canvas when an image is dropped?

I've got some code that doesn't give any errors but when i drop an image into a canvas, instead of applying the image to the canvas, nothing happens at all. I suspect that it has to do with the ...
1
vote
0answers
22 views

Why doesn't this Fabric.js drag & drop script work? I get no errors

Yes, I'm back after like 5 minutes. I have a new problem; I get no errors in the console, i've checked so that all the references are spelled correctly, its just that nothing happens when i drag an ...
0
votes
3answers
50 views

How to trigger the HTML Select onClick event (activates select dropdown with options)

I want to know how to trigger the onClick event of any select(html combobox element). I tried to do $('#MySelect').click(); using jQuery and tried document.getElementById('MySelect').click(); using ...
0
votes
1answer
35 views

Use an input-number value as input-number max value of another field [on hold]

I want to store the value of a input-number field to be used for the max value of a different input-number field. Which is the best way to do this? PHP, JavaScript, jQuery or whatever you want... My ...
2
votes
1answer
109 views

Fabric.js javascript framework for rich text editing

We are using fabric.js java script framework as it has nice api's for canvas drawing . but we need to support rich text editing feature using this framework, ,for example if i have a textbox i want to ...
-1
votes
2answers
128 views

Magnify image using only one image

I'm trying to achieve a very simple objective which is to magnify an image. After some searching on the net, it seems like most of the js scripts out there required two image ( one for thumbnail size ...
1
vote
2answers
68 views

Why to avoid in-page <script> [on hold]

When dealing with the structure of javascript in a website. Currently i try to seperate all my javascript into files, something like app.js. Although is it better just to place scripts on the ...
3
votes
1answer
760 views

Setting contenteditable and overwriting line-breaks to <br /> instead of <div> does not work at the end of the element

I've done a simple script in jsFiddle.net that shows my problem. I try to overwrite the line breaks in a contenteditable=true element from the default <div> to a <br /> with the following ...
28
votes
1answer
12k views

jQuery Mobile: Markup Enhancement of dynamically added content

I was wondering how can I enhance dynamically jQuery Mobile page? I have tried to use these methods: $('[data-role="page"]').trigger('create'); and $('[data-role="page"]').page(); Also how can I ...
2
votes
5answers
2k views

Multiple string matches with indexOf()

Im pretty sure my syntax this wrong because the script only works if the string matches "Video", if the string has the "word "Audio" it is ignored. Also since the href tags have a value of "#" the ...
3
votes
8answers
18k views

How to build parallax scroll on an iOS device

Today I saw the most amazing ipad app that I was assured was written using html5, css3 and javascript... the best part of the app was they had perfectly created a parallax scroll... My question is... ...
5
votes
1answer
10k views

Aligning the Jquery mobile header title

Just wondering if anyone knew how to override the default behavior in Jquery mobile to align the Header title to the left and keep the same format. I can't seem to get it to line up. Here's what I ...
17
votes
9answers
35k views

html5 audio player - jquery toggle click play/pause?

i wonder what i'm doing wrong? $('.player_audio').click(function() { if ($('.player_audio').paused == false) { $('.player_audio').pause(); alert('music paused'); } else { ...
125
votes
9answers
96k views

Is there a good jQuery Drag-and-drop file upload plugin? [closed]

Is there a nice tidy jQuery plugin that allows including a single JS script then using a simple snippet to enable a form? Something like this: $j('#MyForm').enableDragDropUploads('.upload-area') ...

15 30 50 per page