Is there a way to nest drag/dropables using jquery ui, without knowing how deep to nest the divs?
This is what I have been doing.
someElement
.droppable({
greedy: true,
accept: '.Content1',
drop: function(event, ui) {
$(ui.draggable).hide('explode', 1000);
$(this).append(ui.draggable);
ui.draggable
...
I got bit hard by this today:
function mk_input( name, val ) {
var inp = document.createElement( 'input' );
inp.name = name;
inp.value = val;
inp.type = 'hidden';
return inp;
}
As it turns out, setting the name of an element created via createElement doesn't work in IE. It doesn't cause an error or anything, it ju...
Please note this is a popup and NOT modal popup. The users do not want a modal popup.
Is it a good idea to use an Ajax Popup Control extender in the following circumstances;
I want to populate a textbox. When the user clicks on it, he sees a popup window.
In the popup window you can enter value of the field, or make a selection from a dr...
At this url: http://staging.petfooddirect.com:84/
If you go over Repties. and then try to scroll on to the items, it fades out before you can select anything. I have been playing with this all morning and no results. Is it my jQuery selector?
I am using the code below in the box.
Any suggestions on what I can do?
Thank you,
Ryan
fun...
So I am working with ASP.Net MVC + jQuery autocomplete and I have a field where I enter an employee. As of right now I have it autocompleting on the employee name and populating a hidden field with the employee id (ajax returns a json object). With autofill set to true it is guaranteed to enter a valid employee id if their search yields ...
I have a form, this form has a submit and a cancel button. when you press submit the following jquery will run:
$('#saveAction').click(function() {
// call validation function in javascript
});
and when cancel is pressed
$('#cancelAction').click(function() {
return true;
});
the reason to do this is ...
hey everyone,
I have a pretty straight forward uploadified page that allows users to upload files, it works beautifully when I run it on my local machine accessing it through http://localhost/project/etc
the problem is when i try to access the same stuff from outside of localhost, even if trying to get to it through my machinename (htt...
This is what is being passed (as seen by PHP), which is a little jacked up:
[action] => AddDailyDeal
[addDailyDealFormProductTitle] => Gatorade 20 oz. bottle
[addDailyDealFormPrice] => 1.23
[addDailyDealFormShippingCost] => 4.56
[addDailyDealFormDealURL] => http://www.dealurtl.com
[addDailyDealFormTrackingImageURL] => http://www.trackin...
I have a jQuery script:
$.ajax({
url: "/scripts/secure/development/ajax.asp",
type: "POST",
dataType: "text",
data: "cmd=addresses",
success: function(msg){
var arrRows = msg.split("#*#");
for(i=0;i<arrRows.length;i++){
var record_id = arrRows[i].split("|")[0];
var address = arrRows[i].split("|")[1];
...
Is there a jquery plugin that when you hover over an icon etc. it displays a nice black bubble popup? (it doesn't require a click, just a hover).
...
On a portal's main page, I'm using a jQuery container plug-in, and by this users can hide a container by just clicking the minimize button on a container.
My question is: how can I save the user preferences in this regard? Then if the same user logs in again, I want to show the page based on user preferences. For example if a user hide...
Problem:
I have a large table, with say 20 columns, and 150 rows. The columns can be resized by the user (think excel). Each cell has overflow:hidden set.
When text overflows in any given cell i want to give a hint to the user that this is happening.
Constraints:
This must perform well on IE6. Meaning that if you do this on IE6, ...
I'm trying to use jQuery to intercept control-A keypresses on my web page, like so:
$(document).keypress(function (event) {
if (event.ctrlKey && (event.which == 65 || event.which == 97)) {
event.preventDefault();
// ...
}
});
This works on Firefox, but on IE7, my event handler doesn't get called, and all of the...
i need to be able to select Xpaths in jquery.
selecting via CSS is difficult for form elements with name, value, type, not to mention traversing down the tree.
...
Using jQuery I'm creating a basic 'tooltip' animation so that the tooltip will appear in a little animation in which it fades into view as well as move vertically.
So far I have this:
$('.tooltip').fadeIn('slow');
$('.tooltip').animate({ top: "-10px" }, 'slow');
Doing it that way or this way:
$('.tooltip').fadeIn('slow').animate({ t...
I have an element, an anchor, how can I "click it" with jQuery, I mean like a normal user click, because I'm receiving a click on an element..but also I need to fire more events...
Ok here is my example
<a class="som" href="http://domain.com/ssl-signup.php" target="_blank">Test Link</a>
$(document).ready(function(){
$('.som').click(...
I am looking for an effect such that when I move my mouse closer to an element, that element goes from 0 opacity (invisible) to 100 opacity.
I am not looking for the typical mouseover/mouseout combination.
The opacity should be dependent on the distance the mouse is from the element. The opacity would increase within a 100px bound...
http://www.izrada-weba.com/orso
On mouseover on link "NENATKRIVENA TERASA..." submenu and image fade in together. Submenu is faded using some downloaded script and image above is fading using my code:
$(document).ready(function () {
$("#slika1").hide();
$("#test,#submenu2").hover(
function () {
$("#slika1").fadeIn();
...
how can i convert xpath like
/html/body/div[3]/ul/li[1]/a[5]
html > body > div[3] > ul > li[1] > a[5]
i believe, index is not supported with CSS3 selectors....so how to deal with this ?
...
I'm trying to attach "< Previous" and "Next >" links to a jQueryUI datepicker control. My problem is that it will properly add 1 day, but then stop. It will not continue adding days. (same with the previous button). So if I enter 10/30/2009 it will only "next" to 10/31/2009, and won't roll over to November 1. Any ideas? Here is my simpli...