Hi all...
I am using jQuery Datepicker and I have a little problem.
If the datepicker is opened, and you click on the input field again, nothing happens.
How can I change that.. the picker to be closed on input click if it is already opened ?
Thanks in advance...
...
I am accessing a certain web service API which requires XML data in the request. For example, the API might be expecting:
<?xml version="1.0" encoding="utf-8" ?>
<root>
<a>1</a>
<b>2</b>
</root>
What's the easiest way to build that XML request, possibly using jQuery? Is there any standard serializer that I can use to build a ...
Hi there,
I am trying to implement jquery.serialScroll as gallery with fixed width and random width pictures (here). Everything works fine but I cant properly set the offset setting, so when you scroll to last picture there is a lot of grey space on the right. When I had tried to set offset (about 700), gallery froze down :(
Do you kno...
I am trying to implement this jQuery auto complete function but the problem is this i need the value of the previous input field. getting the value from the previous is easy, I just dont know how to add it to the call
the call for the previous value is on top of the document.ready and this doesnt get called when the user types
I NEED ...
question relates to PHP and Javascript
for now every table has a form with input tags that each of them has id="field_from_table"
GLOBAL_TABLE=name of that table
GLOBAL_FIELDS=name of fields in that table
GLOBAL_ID=ID value for table.
every field also have a label for im.
some of the fields are not text.
I want to get/set those inp...
Hello,
I have a tree view based on < ul > and < li > tags.
I am trying to hide the branches based on filter text.
Here is my show/hide code:
$("#filter").change(function(){
var tval=$(this).val();
$("li").show();
$("li").not(":contains(\'"+tval+"\')").hide();
$("li").is(":contains(\'"+tval+"\')").show();
...
Hi.
Basically creating a file manager. User clicks browse and a div populates with folders and files from the server and displayed as icons. I want to be able to drag files over folders and then run my server file move script. I got the file dragging working but when i move over a folder it picks up all the folders..
here is the folder ...
Good day.
I'm new to jQuery, and have a passing familiarity with javascript, having spent most of my time on the server side.
My interest is in posting in the browser a multipart/form-data form object consisting of one text field and one file. In response, the server returns a multipart/mixed response consisting of one part html or js...
I have problem with this JS code. When I started to test it, it is working properly with FF and Chrome but not with IE8.
I guess, something is wrong with IE visiblity property or the mouseover events. I tried everything but I am so deep in here I can't see the whole picture.
How can I make it run properly also in IE. Hate IE :))
$(doc...
Hi,
i have a problem with the jquery post.
my vars
var checki = '1';
var my_var = 't95';
this works fine
var data = { 'mo': 'usr', 'dt': 'update_uis', 'values[0][t95]': checki']};
but when when i insert the var, it will not work
var data = { 'mo': 'usr', 'dt': 'update_uis', 'values[0]['+my_var+']': checki']}; // dont work
$.a...
How can I pass all the values from one dropdown list to one PHP array?
Let's say that I have one dropdownlist name="country" and id="countries"
Options:
val="Japan" Japan
val="USA" USA
val="UK" UK
How can I parse the values to one PHP array?
The content is generated dynamically from another dropdownlist by chained method.
Cheers!
...
Hello
I think it should be fairly easy, I simply can not find an answer for it.
I am using a Codeigniter for a simple CRUD application. It displays the result in table. What I did, was to use jQuery .ajax to submit the form. It works (almost) perfectly.
I am able to submit a form without reload but the results are not shown unless I...
I've a <div> with a background-image that will change the background 4 times with a delay of 300ms. I've tried with setTimeout which seems to work correct, but clearTimeout(t); when the mouse moves out fails because the backgrounds continue changing.
$(document).ready(function() {
$(".image").hover(function(){
var obj = $('....
Hello,
This is my code :-
$(document).ready(function(){
$('#dlgEvent').dialog({
autoOpen: false,
height: 370,
width: 470,
modal: true,
open : function(event,ui){
$('#EventDesc').wysiwyg();
...
I have an anchor link inside a div. I would like both the anchor link and div to process onclick events separately, but right now clicking on the anchor link also triggers the onclick event for the div. How do I prevent this?
Here's the code:
<html>
<head>
<style>
#box {
background-color: #ccffcc;
...
I am using this autocomplete Plugin which works great but the problem is
$('#request_song').autocomplete({
serviceUrl: '<%= ajax_path("trackName") %>',
minChars:1,
width: 300,
delimiter: /(,|;)\s*/,
deferRequestBy: 0, //miliseconds
params: { artists: 'Yes' },
});
<div class="field">
<label for="request_song">Song</label...
When error messages appear in the form, they displace elements to the left. How can this be avoided?
Example
...
In the jQueryUI framework for Interactions you can do custom functions and they take two parameters 'event' and 'ui'. I know it has to be obvious somewhere but I cannot find out what methods and properties are available on those two parameters.
Does someone know what methods and properties are available on those parameters or where I c...
Ok so I have an autocomplete field that is making an ajax request every keystroke....which can slow things down alot. If you visit here and use the
email: [email protected]
pass: test12
If you have firebug open and start typing fast you will see all the see all the ajax requests. My question is can i cancel the previous request if there ...
I have an array, as below:
var cString = [
['1','Techdirt','www.techdirt.com'],
['2','Slashdot','slashdot.org'],
['3','Wired','wired.com']
];
to this array I want to add another in the same format:
var test = ['4','Stackoverflow','stackoverflow.com']
I've tried using:
var newArray ...