Tagged Questions
1
vote
0answers
11 views
Draggable items between rows - google datatable
Here I have timetable with events which is draggale on click but just into same row.
CODE:
var timeline = undefined;
var data = undefined;
var ekstra = null;
var ime = null;
...
0
votes
0answers
10 views
How to prepare local for jqgrid?
I have a list that needs to displayed in html page using JQGrid. I just want to make a local data out of that for jqgrid display. Kindly suggest me how make local data by iterating this list in ...
0
votes
2answers
28 views
show html in auto complete jqueryUi
i use jqueryui for search in my site just like facebook
jquery code:
//search main
function split( val ) {
return val.split( );
}
function extractLast( term ) {
return split( term ).pop();
}
...
0
votes
1answer
30 views
How do you clear the default value in AutoComplete combobox?
When using the jQuery Autocomplete Combobox plugin in this in below:
http://jqueryui.com/autocomplete/#combobox
You could set the default value using this:
input.val(jQuery("#"+select.attr("id")+" ...
1
vote
1answer
55 views
jQuery show/hide return undefined, break plugins
In the past week, I've had jCrop, infinite scroll, and jQuery UI have all broken on me, with an error message "Uncaught TypeError: Cannot call method 'x' of undefined". I've tracked all of the errors ...
0
votes
3answers
31 views
Call window.open() inside loop during handling of element click event
I'm trying to call window.open() inside loop x times (target=_blank) based on some criteria. But it opens new tab just one time. Is anything I'm doing wrong? Here is my code
$('#spogo_' + ...
0
votes
3answers
48 views
add class on li remove after page load
I am using jquery to add the class to active css on "li" and also navigate to an html page.but after page navigates the class disappers on "li". I have tried different ways to resolve this but ...
2
votes
0answers
33 views
jQuery UI - Drag and drop sorting and revert
Please find this jsfiddle I've created drag n drop no sorting
The problem here is that when I put the box from drag-gable area to "drop here" area, the boxes won't be sorted out. For example If I put ...
0
votes
0answers
9 views
How to build slide direction “down” with TweenMax.js
There are a simple way to create {direction: "down"} from JQueryUI with TweenMax.js?
$.show("slide", { direction: "down" });
This one works with position:absolute property, but I need with ...
0
votes
1answer
41 views
Jquery Animation error “ ReferenceError: $ is not defined”
I am getting the following error:
ReferenceError: $ is not defined
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" ...
2
votes
0answers
76 views
AJAX doesn't override already loaded scripts?
I'm using a version of jquery-ui-widget, 1.10.3, that works well with ajax-loaded page fragment#1 but triggers an error with page fragment#2 if fragment#2 was loaded after fragment#1.
This is ...
0
votes
1answer
50 views
jQuery UI does not load on $(“#content”).load page for .button
I seem to make a mistake in the following:
html: index.html, main.html, etc
js: jQuery, jQuery UI, own.js, own_main.js
The end result should be an index page that based on a menu choice loads a html ...
0
votes
0answers
29 views
replace droppable within a droppable
I currently have a sortable div that accepts a dynamic list of draggable items, when I drag and drop in the sortable, I get expected behavior and the items will shuffle according to the position of ...
0
votes
2answers
24 views
jQueryUI FullCalendar: Callback after events have been fetched from server
I use the jQueryUI FullCalendar from Adam Shaw (http://arshaw.com/fullcalendar/docs/event_data/events_function/).
When I press the next button the calendar loads new events from my server and I would ...
2
votes
2answers
35 views
Dynamically creating jQuery listview in PHP loop
I would like to populate a jQuery listview in a PHP loop, and I attempted to do so by echoing javascript code that populates the list with a PHP variable. This is what I'm working with:
My HTML
...
1
vote
2answers
35 views
Number validate at keypress
I validate the phone number using below code its working fine but i allow char at first time while user entering the values. how i can solve it. . . .
$('.Number').keypress(function () {
...
2
votes
1answer
28 views
How to use jQuery-UI drag and drop with two divs containing elements of identical ids
I have common jQuery function for drag and drop and two div tags. Both div tags have different ids but both containing elements of identical ids.
I have a block and a placeholder for each so when i ...
0
votes
1answer
8 views
provoke slider's slide event jquery ui
Is there a way to manually provoke jQueryUI slider's slide event in code?
$("#myslider").slide(100); //changes slider value to 100 and provokes sliders slide event
0
votes
0answers
20 views
Is there a html5 drag and drop plugin with a js fallback for non supported browsers?
Im building a drag & drop site builder, looking for a drag and drop plugin with a unified api that uses html5 drag & drop whenever possible and javascript fallback otherwise. other ...
0
votes
1answer
22 views
Required MVC Field in a Jquery Accordion
Hey so I have a very similar question as this one here on SF. I have a required field inside of a jquery UI Accordion. If that field is visible (i.e. its accordion is open) the validation works just ...
1
vote
1answer
24 views
jQuery datapicker not working on second click
can anyone help me finding the issue behind the datepicker in from and to section of http://dev.ther8server.com
When I click on from date and choose a date and again click on from datepicker doesn't ...
0
votes
2answers
18 views
Align draggable element to grid that starts at parent's position
I have some HTML structure:
<body>
<div id="board">
<div id="block" />
</div>
</body>
The #board can be positioned anywhere.
For the example, lets ...
0
votes
0answers
23 views
Javascript event handlers overlap
So I'm using the selectable JQuery UI plugin. The problem is that I have a onclick event just for the name of the file, but it doesn't execute. Instead just the onclick event of the selectable ...
-2
votes
0answers
29 views
Drag and Drop to and from IFrame. [on hold]
I'm using JQuery-UI plugin and want to drag and drop list items between two unordered lists. One of the lists is always showing on the left like in gmail, and the other is a "main content" area inside ...
1
vote
1answer
27 views
JQuery UI Sortable Disabled Scroll on Mobile
Fiddle - http://jsbin.com/asaVUmAP/1/edit
I've been working on a website designer application, and today I added the ability to sort dialogs in a properties panel. My app is built for both desktop ...
0
votes
0answers
18 views
Is there a jQuery or javascript library for selecting times with an interface like when2meet? [on hold]
The question says it all. I'm going to use this to store employee availability times in a database. Here is an example of the interface I'm looking at: http://www.when2meet.com/?1362816-XLXRp
0
votes
2answers
34 views
How to close jQuery UI tab using anchor inside it?
I am using collapsible jQuery UI Tabs. My code looks like:
HTML
<div id="tabs">
<ul>
<li><a href="#tabs-1">Nunc tincidunt</a></li>
<li><a ...
0
votes
0answers
37 views
jQuery sortable item disable sort
Hi ive foud this demo in an answer in stackoverflow
http://codepen.io/mj_azani/pen/npohF
my question is
its possible disable sort for ui.item.hasClass("number") in the right column
I have N div ...
0
votes
0answers
11 views
How to connect multiple targets from a single source in jsPlumb?
I am using this code to connect a single object one another object and this works fine. Could anybody help me to modify this to link a single object to multiple objects.
var start = 'logo';
var ...
0
votes
0answers
14 views
jQuery Draggable inside parent mouseon event creates multiple dragging
http://i.imgur.com/CvCdQNq.png
http://i.imgur.com/JvT2OVb.png
Hi guys, so this is what I am trying to do:
On a calendar grid, click to add draggable and re-sizable div on it.
Every click will create ...
1
vote
1answer
19 views
When i try to resume JW Player video it starts at beginning
I have a video pause like below:
jwplayer('video').onTime(function(event){
if ((event.position >= 19 && event.position < 20) || (event.position >= 29 && ...
2
votes
3answers
37 views
How to extend delay for slide toggle without repeating effect?
I want to make it so that when a button is clicked a hidden div is displayed for a few seconds and hidden again. This code accomplishes that:
HTML:
<button class="clicky">click ...
1
vote
1answer
35 views
jQuery draggable isn't draggable after being dropped
I have two divs, each containing a list of quantities and items. The items are draggable and the div containing the items is droppable. If an item of the same name appears in that div, that item ...
1
vote
1answer
37 views
How to append jquery ui autocomplete element?
I would like to know how to append jquery ui autocomplete elements once the page is active.
The idea is that there are two elements and I would like to add the third element once a submit button is ...
0
votes
0answers
29 views
jquery function random timing multiple functions
first, I haven't posted on here before so please go easy on me. I HAVE searched and searched for an answer to solve this issue but I am not that familiar with javascript/jquery. I have an example set ...
0
votes
2answers
28 views
Why does using '<div />' as the object in a JQuery UI dialog box method work?
Consider the following code that creates a JQuery UI dialog box:
function showBox() {
$('<div />').html('This is my dialog').dialog({
buttons: {
'Okay': ...
0
votes
1answer
22 views
Change from jQuery UI slider to 'noUiSlider' - Function that updates slider on animation progress
I have a GSAP animation that updates a jquery UI slider as the animation plays and the slider can control the animation progress... Example Here
I need to switch over to noUiSlider for various ...
0
votes
0answers
8 views
jquery.dialog always shown centerer after drag dialog and reopen dialog
I am working on jQuery.dialog(). I have a page in this there are too many dialog popup are available. My current problem is that when I open dialog1 first time it shows us center position after that I ...
0
votes
1answer
15 views
Can't drag back elements on empty dom element with double sortable
I am starting with jquery sortable but I am having some problems understanding how it works specially when it comes to sort more than 2 different items.
Here's what I have:
...
0
votes
1answer
20 views
Javascript drag and drop test
I'm trying out a little feature with JQuery that I haven't seen before, and I'm not exactly sure how to handle it, so I'm asking to see if any of you know a clever way to pull it off:
We have a few ...
0
votes
1answer
31 views
+50
Replacing widget element with a newly constructed DOM structure
<script>
(function( $ ) {
$.widget( "my.dropbox", {
errorText: function(text) {
$(this.element).next().html(text);
},
_create: function() {
...
1
vote
1answer
37 views
DIV Inside jQueryUI Dialog is overflowed after multiple resizes to the dialog
Hello and thank you all for the quality answers that I always found here...
I have a jQueryUI dialog with a DIV inside...
This div is set to fill the dialog space:
div.dialog-contents {
...
-1
votes
1answer
38 views
Trying to have 2 drop down comboboxes that have the same function
How can I have 2 drop down combo boxes on the same page?
here is what I have now:
<div class="ui-widget" >
<p> <label>test: </label></p>
<select id="combobox">
...
0
votes
0answers
11 views
How to make jQuery UI Progressbar Determinate Value Display Like Indeterminate Value?
jQuery UI supports an indeterminate value with an animated barber pole style design, shown here: http://jqueryui.com/progressbar/#indeterminate
I have a bar with determinate value, but want to keep ...
0
votes
1answer
23 views
adding double click to draggable/droppable :: javascript
I have two boxes side by side, even though the code works I would like to add a double click animate flourish.
here is the jsfiddle
http://jsfiddle.net/2Kqse/
how would I go about adding a double ...
0
votes
2answers
27 views
How to use onclick event on a list (jqueryui-selectable)?
I created a simple script with jqueryui-selectable list. I generate a selectable list and assign each list with an onclick function. It seems that the onclick event was not triggered when I clicked ...
0
votes
2answers
24 views
run effect only if not already running jQuery UI
I am using jQuery UI's Bounce Effect on a click event like this
$("#myelm").click(function(){
$(".wlbutton").children("span.new").effect( "bounce", "slow");
});
I would want to run the effect ...
0
votes
2answers
17 views
Stop Click, Enter and Arrow Binds for child of accorion header
So I would like to put a contenteditable field in the header of an Accordion from JQueryUI, however, when I try to bind an event to that sub object, the binds of the accordion take precedence even ...
0
votes
1answer
34 views
Drag and drop in separate containers, and adjust position of dropped element
[Edit] : Solution is given in TCHdvlp's comment to his reply below. Thanks a lot !
I need to drag elements from one container (container1) to another (container2) and back, like in this fiddle :
...
0
votes
3answers
38 views
Jquery Dialog modal issues
I'm stuck with this jquery dialog box. I've searched reviewed my code and its just not sticking out to me what is wrong here. I have a button that when clicked will display a list of coaches names. ...