Tagged Questions
13
votes
5answers
2k views
JQuery Autocomplete help
I have a customised JQuery autocomplete control that is declared something like this.
$('#SystemCode_Autocomplete').autocomplete({
source: ...
7
votes
4answers
6k views
JQuery accordion - unbind click event
I am writing a form wizard using JQuery's accordion module. The problem is I want to override any mouse clicks on the accordion menu so that the form is validated first before the accordion will show ...
6
votes
7answers
4k views
jQuery accordion: prevent pane from opening/cancel changestart event
I've got the following markup:
<div id="accordion" class="leftaligned">
<div>
<h3><a href="#">Stakeholder</a></h3>
...
6
votes
1answer
966 views
Jquery-autocomplete: makes the tab key select the first item if no item is selected
The goal of this question is: by using jquery-autocomplete, makes the tab key able to select the first item if no item is selected.
The code I have implemented (1) works but I have some doubts and I ...
5
votes
3answers
6k views
JQuery UI; Stop propagation of selectable events
Basically I am using jQuery ui's selectable functionality on a ul, but the ul will often times have a scrollbar, and this scrollbar becomes unusable in Webkit browsers since when you try to click on ...
5
votes
3answers
700 views
How jquery ui disable default events and define custome events?
How jquery ui disable default events and define custom events?
(like disable tab click event and define custom tabselect event)
Where can i read about that deeply?
Can you give places in jquery ui ...
4
votes
1answer
2k views
add eventhandler to jquery UI datepicker after its creation
I have the following scenario:
In my masterpage I have:
$(".datepicker").datepicker({
changeYear: true,
changeMonth: true,
dateFormat: "dd/mm/yy",
duration: 'fast'
});
With this, ...
4
votes
3answers
126 views
Why use built in jQuery events
I'm just wondering if someone could point out why one should use jQuery event bindings rather then native JavaScript. A colleague of mine sent me the following code.
document.forms[0].onsubmit = ...
4
votes
3answers
688 views
JavaScript function pass-through?
I'm not sure if this is doable, but I would like to be able to set a jQuery UI event as a function (directly), as opposed to continuing to wrap in additional function(event, ui) { ... } wrappers.
...
3
votes
8answers
5k views
Any JQuery alert() replacement for JavaScript's native one?
I would like to replace the native javascript alert() with my own, so that I would be able to control the theme and have it more JQueryUI look and feel.
I've tried numerous alternatives - JQueryUI ...
3
votes
6answers
1k views
In my case, How to highlight table row when mouseover?
in my index.html page, I have an emtpy table defined as following:
<body>
...
<table width="500" border="0" cellpadding="1" cellspacing="0" class="mytable">
...
3
votes
1answer
211 views
Sortable drop handler not being called if you drag and drop too quickly
JSFiddle Source
If you drag and drop an item from source list box to destination list box really quickly, then the drop handler does not fire.
I've tested in FF 10, Chrome 17 and IE 9 with the same ...
3
votes
2answers
454 views
How do you add page specific logic to jQuery Mobile?
I've read here that you cannot use $(document).ready() on each jqMobile page. Instead the recommend using pageInit() and pageCreate(). This is all well and good, but I'm not quite sure how to go about ...
3
votes
1answer
163 views
How to avoid to modify the event object in this situation
This question is related to this one Autocomplete: first item focused only when the user type on tab key.
In order to make the first item focused only when the user type on tab key by using jqueryUi ...
3
votes
1answer
116 views
how to insert new <div> on a button click at the cursor position of existing <div>
this.$el.find('#divname').append(newDivHtml) will append to the newDivHTML to existing div. However, I was looking at this scenario:
On the existing div1 user edits some free text and clicks a ...