Drag and Drop using jQuery
Hello, I want to do a simple drag-drop using jQuery. I have not done anything so far, but previous attemps were unsucessful. Thanks Jean ...
Hello, I want to do a simple drag-drop using jQuery. I have not done anything so far, but previous attemps were unsucessful. Thanks Jean ...
Hi All, I am creating a application for touchscreen device. The size of the scrollbar available with autocomplete is so user friendly. How to increase the size of the scrollbar in the autocomplete. JQuery autocomplete Geetha ...
Is it possible to restrict direct access to PHP file if I use jquery .load function like this one: $(document).ready(function(){ $("#second").load("testip.php"); }); In this case I want to restrict direct access to file testip.php that will instert data in database. Can I do it using some PHP function that will compare visitors IP ad...
I'm using the following code in an attempt to show a dialog with a list of errors on the client: if (rollout.ImportErrors.Count > 0) { ClientScript.RegisterClientScriptBlock(GetType(), "showErrors", "showErrors();", true); } The error count is non-zero and the following script block is emitted, but the script isn't...
How can I parse a html document or just a html element in order to replace all specific strings into other ones ? In other terms: - search for all strings #### in element .class - replace them with $$$$$ I'm using jQuery.. thanks ...
hi guys, i'm using this function to parse this json data but i find the function to be really slow in IE7 and slightly slow in IE8. basically the first listbox generate the main product list, and upon selection of the main list, it will populate the second list. this is my data: [{"ProductCategoryId":209,"ProductCategoryName":"X-Fi","...
I have the following markup: <div style="overflow:auto;width:500px;height:100px;"> <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul> </div> Mow I'm adding a new listitem with jQuery. How can I make it visible (scrolling the div to it) in case it's hidden? I've tried UL.scrollTop(nuLI.top); but...
I'm using colorbox, i just get undefined as my get values? $('.banner').colorbox({ opacity: 0.4, href: 'dialogs/ban_add_edit.php?banner_to_edit='+$(this).attr('id')+'&typeofbanner='+$(this).attr('rel') }) ...
Hi All, I have tried for "unload" and "beforeunload" binding in following code, but none of the browser is sending a request: $(window).bind('unload', function(){ $.ajax({cache: false, dataType: "script", url: "test.php" }); }); Any suggestion? Thank you. ...
Hi, I'm trying to get the offset or position of the cursor on a single web page. Let's say I move the mouse to the middle of the screen, I then want to know the offset. For example left: 603 px top: 521 px from the coordinate 0,0 of the page. So the question is, is it possible to get the cursor coordinates with jquery? ...
<span class="stbuttontext" st_page="home">ShareThis</span> I want to change "Share This" to "Share", please let me know the solution. thanksl, ...
I have a problem accessing JSON data. I'm new to JSON an jquery so there is probably a easy solution to it and i would be glad to find out. My jQuery: $.post( "currentPage.php", { 'currentPage': 1 }, function(data){ $("body").append(data); } ); currentPage.php: $returnArray['left'] = 'test_left';...
Have a simple form (only extract fields here) but for some reason the JQserilization is not working; looks fine in alert() but only the first form field gets posts. Suggestions please - thanks in advance Form: <form id="neweventform" method="post" action=""> <div class="grid_4 alpha">Setup date *</div> <div class="grid_7 omega"> <sele...
Hi, I have simply jqgrid definitions like this: jQuery("#C2").jqGrid({ url: '/Customers.mvc/GetGridData/', datatype: 'json', autowidth: 'true', mtype: 'GET', colNames: ['Nazwa', 'Symbol', 'Status', 'Miasto', 'Ulica', 'Budynek', 'Mieszkanie', 'Koda pocz...
Hello together! [First, I'm an absolute beginner. I tried to express myself as good as I could - please correct me on any issue... Now: I have the following problem:] I am loading a div element, which class always is ".gallery" from a couple of pages (in this example "the page index.php?page=orange") into another page's div (in this c...
is any menu like treeview (open\hide each node), but after postback it restore the state ? ...
I've worked out most of the kinks with my "lava-lamp" effect that I'm trying to create. Basically I want two curly braces (both are images) to wrap a list-item, then follow over to the next list-item. I always build in FF, then make exceptions for IE. I can't figure out what exception I need to make! I'm using an absolutely positione...
here is a part of html code (video urls marked with a django-template language variables): <div class="mainPlayer"> <object width="580" height="326"> <param name="movie" value="{{main_video.video_url}}"></param> <param name="allowFullScreen" value="true"></param> <param name="allowscriptaccess...
Hi There I need to get the names and values of checkboxes that have been checked into an array name selected, I cannot for life of me get it working, below is my attempt, if someone could clrify what I am doing wrong that would be brilliant. //Location AJAX //var dataObject = new Object(); var selected = new Array(); $('#are...
Here is what I want to do: I have some json like this var foo = { format:"json", type:"test", id:"26443" }; and I awant to put that in a url like this 'http://example.com/a:3:{s:6:"format";s:4:"json";s:4:"type";s:4:"test";s:2:"id";s:5:"26443";}' which I will then put into ajax call but everything I have tried results...