jquery

PHP Framework with full jQuery integration?

i'm tired of reinventing the wheel on PHP and loving jQuery to death so which framework fits my needs? ...

jQuery "modify" event

So I recently took a closer look at JavaScript and jQuery and after that stumbled over the Firefox extension called Greasemonkey. Well, let me explain what I mean with the "modifiy"-event: I've got 2-3 userscripts for a certain page installed which automatically look if the page has changed in any way and if it has, they load the new co...

A simple views question for django/jQuery calls

Hi, I'm trying to figure out how to pass html back to a jQuery call, but for some reason my code refuses to work. t = get_template('success.html') html = t.render(Context({'success': True})) # should render '<p><h1>aoeu</h1></p>' x = "{'success' : '" + html + "'}" return HttpResponse(x) jQuery code: $.post("adduser", data, functi...

Recommendation for jQuery Date Picker

I'm using this date picker right now: http://www.eyecon.ro/datepicker/ It's just not suiting my needs. What are some good jquery date pickers? *I need to be able to select a date range. *I need to have a flat view that populates another input. ...

How do I jquery part of a document?

I looked at JQuery documentation, read FAQ and saw a lot of examples. It looks like to get a set of all elements in the document that is described by a rule, you code $(rule) where rule is a string whose syntax is described here. Document seems to be a hidden input parameter. Can I do the same with a subtree of the DOM? If I have a D...

jquery inquiry: passing message without a new pageload

Hi there. Please forgive the awkwardness of this question, I honestly don't know how to phrase a better query... The situation: I have a basic contact form within an xhtml/php page that I'm in the process of upgrading. I recently added a new unrelated jquery plugin on this page, so I would like to use the jquery functionality to help...

jQuery - farbtastic PlugIn callback function

Hey! I'm just setting up a web page with a color picker. I choosed farbtastic. My problem is, that the callback function doesn't work. Here is the code I used: $('#colorPicker1').farbtastic('#background-color', function callback() { /*commands*/ }); The callback function is not called, when the user choosed a color. Does someone ha...

Problem with ScriptManager.RegisterClientScriptBlock and jQuery in Internet Explorer 8

I want to use jGrowl plugin for jQuery (http://stanlemon.net/projects/jgrowl.html#samples) to display some messages on a page. To do this, I call the ScriptManager.RegisterClientScriptBlock method like this: ScriptManager.RegisterClientScriptBlock(this, typeof(Page), Guid.NewGuid().ToString(), "$.jGrowl('" + message + "');", true); ...

jQuery asp dropdownlist

Hi, I have one control with some asp form elements, but how do I get the form elements in my other control. I usually do jQuery('#<%= MyDropDownList.ClientID %>).val(), but this is not possible since it is in the other control. How do I access the element without hardcoding it? So to sum it up: Control 1: Asp:DropDownList Control 2: Nee...

Fogbugz like dropdown menu

I am searching for a jquery plugin to get a fogbugz like dropdown menu so that you can type in the dropdown menu. This is what it should look like: http://dl.getdropbox.com/u/5910/Jing/2009-05-10_0937.swf ( the old video http://dl.getdropbox.com/u/5910/Jing/2009-05-10_0055.swf ) All the answers have been not giving me the typing part a...

how to custom theme jquery UI tabs (not using themeroller)...

i know that you can use themeroller to customize your UI theme but is it possible to do it by hand. if yes then is there any specific css that you have to follow. thank you ...

How can I force the DOM to re-eval in Javascript/jQuery?

I am dynamically appending HTML to a webpage and I'm also using jQuery to manage stuff. When I add HTML code, jQuery ignores its existence. For example: $("td.elementToClick").click(... Will work great with jQuery. But if somewhere in the code I append: $("tr#myRowToAppend").append("<td class="elementToClick>...</td>"); jQuery wil...

JQuery File extension rewrite, load new url into hidden div

I have a thumbnail gallery in a div on my sidebar. Each of these jpg images links to the larger jpg image in the main div of the same page. I have these loading in a div via fadein jquery with the following: $(function() { $('.vid-gallery-thumbnail a').click(function() { newImg = $(this).attr('href'); $('.ngg-imagebrowser img').fad...

create jquery tabs according to data from database

Hello all i want to create tabs according to data from MySQL database using php for instance count the number of groups if they are 5 create 5 tabs.How could i do that. ...

jQuery-ui tabs character encoding problem

Swedish characters get substituted when setting the tabTemplate option. For example using "ö" in the href: var $tabs = $("#tabs").tabs('option', 'tabTemplate', '<li><a href="#ö">#{label}</a></li>'); becomes: <li><a href="#%C3%B6">ö</a></li> ...

Get the last modified date of a remote file

I would like to get the last modified date of a remote file by means of curl. Does anyone know how to do that? ...

Multiple controls with single event using jquery

I am trying to reduce some code here. I will explain how I have multiple Button controls. I am using the click event for each $("#B1").click(function() { var v1 = "abc"; }); $("#B2").click(function() { var v1 = "efg"; }); $("#B3").click(function() { var v1 = "x...

Prevent javascript execution in IE6

Hi! I want to prevent some parts of my javascript, written with jQuery if that matters, from executing in IE6. What are the prefered methods to accomplish this? Thanks! ...

I need some help with the Load function in JQuery

I currently have links w/ class="ajax" that I want to retrieve the element with id="test" from the file "data.html" in the same directory, and put that content into the id="content" div on my page: <script> $(document).ready(function(){ $("a.ajax").click(function(event){ $("#content").load("/data #test"); }); }); </script> <...

jQuery Morph Classes

Im not sure if the title is what im trying to describe but ill have a go. I have two classes "big_green" and "small_blue" big_green = 100x100 green box small_blue = 50x50 blue box i remember there used to be a js library that allowed you to tween classes, i think it was mootools. Anyway, is there any way in jQuery to animate the cha...