How can I use something like jQuery & PHP to reorder elements within an xml file?
The jQuery plugins below allow html table rows or list items to be swapped about, but I have no idea of how to save those changes back to an XML file with the click of a button.
www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/
www.jqueryui.com/d...
Hi,
I'm searching for a plugin or a simple way to make an image rotatable by dragging (with the mouse) a button on this image.
I want to be able to save the angle rotation too.
Does anyone know how to do it easily please?
thanks
...
I am working an authorisation system. I have four unordered lists. Let's name them list1, list2, list3 and list4. two of them about countries and rest two are about cities. list1 contains all countries. list2 contains all available countries for one employee. Users are moving one country from list1 to list2. when user clicks list2 i can ...
I am using a javascript to zoom an image on my asp.net web page. I want to put 2 buttons on it like "Zoom" "Cancel Zoom" and accordingly activate/deactivate the javascript functionality. Right now I have a css class on which the javascript operated to produces the zoom effect. The image is like:
<a id="big" href="source of image" class...
I have a very simple bit of code (relies on jQuery):
var dom_builder = function() {
this.table = function(elem,attributes) {
return $("<table>").attr(attributes).appendTo(elem);
}
};
console.log(dom_builder.table);
Now when I try to run it I get the following error: Uncaught TypeError: Object # has no method 'table'...
hi
so i was wondering this: for example: when you subscribe to Facebook you have the option to invite your friends from gmail(if you have a gmail account), so you would enter your gmail login and password and facebook would grab all your contacts from gmail, so i was wondering how this is done? is there an API from Gmail or from Hotmail...
Hi,
I'm using Django and lastest JQuery, and JQuery UI in my project.
Created a tabpanel using UI widgets, its loading sub pages with Ajax.
But loaded pages with javascripts is broken and redirects back to current URL
I.E
$('#tabs1').tabs({
cache:false,
cookie: {
expires: 1
},
...
Hello,
i am working on a calendar interaction module. the calendar shows days reserved. a reservation interval is 7 days. i have set up via javascript that hovering a day adds a class and auto-hovers 3 days before and 3 days after this day too to visualize the 7-day-interval setting that class there too. now i stuck with the following p...
I've got this script that needs to be changes to OnMouseOver, currently it functions when you click but I need it to function when the mouse cursor goes over a div. Any help is greatly appreciated.
<script>
// execute your scripts when the DOM is ready. this is a good habit
$(function() {
// assign a click event to the exposed el...
I have a JavaScript overlay that consists of several input text search criteria. When the user presses the enter key in any of those inputs, I want to mimic the behaviour of the search button.
I know how to handle the enter key if there is only one input. I define the input as:
<input type=\"text\" class=\"txtOrgNmFilter inputBox\" on...
I have a jQuery toggler that I am fighting with. I can get it to toggle the visibility of multiple divs at once, but as soon as I implement the next() function, the only thing that toggles is the plus/minus portion of the script, not the visibility of the div. Anything stand out in this code?
This works, but toggles all divs instead of ...
I'd like to create a linear transparent gradient to a div. Is there any way to do that with jquery? Or should I use some other library like raphaeljs? I'd like to achieve an effect like the following:
...
Okay I have list items, some have a span, some not.
On my event I want to add the span when they don't have any yet.
has() works fine, but not() adds the span to both??
HTML:
<ul>
<li>
<p>item</p>
<span class="spn">empty span</span>
</li>
<li>
<p>item 2</p>
</li>
<ul>
<hr>
<a class="add-span"hre...
Hi folks,
I have a piece of jQuery code which - in theory - scrolls down to a specific part of the window depending on what's after the hash in the URL tag (myaddress.html#wheretoscroll).
The code called is this:
$(document).ready(function() {
anchor = unescape(self.document.location.hash.substring(1))
if (anchor) {
$....
I have two select boxes, the second of which is populated once the first has been chosen. Currently I use
$('#category').live('change', function() { });
which changes the 2nd box after the user has made changes to the first.
The problem is, if I load a default value into the first box, the 2nd box isn't populated because the 'change' e...
So this works in Chrome/FireFox on Windows and Linux, but IE8 on Win7/WinXP fails to behave as expected.
I'm using CKEditor with the jQuery adapter. I set up the editor initially like so:
$(document).ready( function(){
CKEDITOR.config.height = 400;
// i.e. <textarea id="msgtext"></textarea>
$('#msgtext').ckeditor();
...
This question got me thinking about how one might go about doing the relatively undoable: seamlessly integrate server-generated HTML from ASP.NET with client-side control via javascript. Sure, you can always use javascript/jquery/libraries to create the same display client-side. But much of the time, it's easier to do all the rendering o...
I hope my description will not be too confusing! I am trying to integrate a javascript shopping cart, simplecart-js, into a Jquery LightBox, Yoxview. Yoxview has an option to add button links in the popup title pane for various options, downloading, shopping cart, etc. The relevant code for the shopping cart button is:
var yoxviewCartBu...
I wrote a read more function for my front page that loads in a section of html from another file.
When this section drops down the gallery enclosed within this section doesn't work. However, if you go to the single page article it works.
I know it is something to do with this.
I'm using this plugin but I'm unsure of how to fix it.
D...
I have a Datepicker using jqueryui DatePicker.
The behavior requirement is:
A User can store a Birthdate for a friend. The User should be able to store a year if known, or select "N/A".
If "N/A" is selected, Store the year 1900 in the database and only display the day and month in an input field to the User.
The dropdown should star...