Hi,
Is there a way to modify the default names of the two parameters, so
instead of calling /search?q=blalimit=10 it can call /search?
query=blamax=10
I was hoping for something along that way:
$(#searchfield).autocomplete( /search, {
q: query,
! Thanks for the info
X+
--
Brandon Aaron
On 9/23/07, xavier [EMAIL PROTECTED] wrote:
Hello,
I found myself adding elements to a page, and then adding behaviour to
these elements.
What I did was :
$('.container').each(function(){
$(this).prepend('a class=dosomething href
Hello,
I found myself adding elements to a page, and then adding behaviour to
these elements.
What I did was :
$('.container').each(function(){
$(this).prepend('a class=dosomething href=...'Do something/
a')
.find(.dosomething).click(function(){return
doSomething(this);});
...
It
understand how to plug that with my json-on-a-different-url
case.
Does it clarify ? Has someone an idea ?
X+
P.S. I'm fully aware than my exemple is dummy, but I tried to set up
something simple that doesn't involve my bulky CMS
On Sep 4, 11:00 am, Klaus Hartl [EMAIL PROTECTED] wrote:
xavier wrote
Hi,
I'm using json to update a list and it works fine, but the goodies
(back button, bookmarks...) are obviously not working.
My goal is to keep a version that generates the html lists (for the
ones without js enabled), keep the json update features, and add the
history working.
I'm struggling
HI,
Not sure about the question. Could you clarify ?
You're loading external html that contains html with onclick
functions ?
you're trying to load a javascript file ?
for the second getScript will do it:
jQuery.getScript('whatever.js',function(){alert('things to do once the
script is
This isn't done as a plugin, but that's a similar idea:
(buttons automatic translation)
http://www.gmworkersblog.com/languages/english/union_says_avtovaz_fired_staff_the_moscow_times
On Aug 21, 2:33 pm, Tane Piper [EMAIL PROTECTED]
wrote:
Hey folks,
Time for another plugin
Have you seen this post ? Thats going in the same direction I think,
and I like the idea of being able to use the template for an array.
http://www.dennydotnet.com/post/JavaScript-Model-Objects-JMO---An-Idea.aspx
Otherwise, a more complete, non jquery based one:
Looks promising...
Other feature ideas I find interesting are:
- Allowing users to specify the height of their element, or the columns, and
then paginate the text (I'd include links/buttons that allow you to page
through the text). This would be good so that your columns don't get so
tall
Hello,
I've modified a page so instead of putting all the
script src ... for all the plugins I use (rating+dimension+meta
+tablesorter...)
in the head, I only kept the jquery in the head and loaded the others
like that (exemple for tablesorter):
script type=text/javascript
function
On 8/14/07, Benjamin Sterling [EMAIL PROTECTED] wrote:
Xavier,
For question #1: if(typeof $.fn.tableSorter == 'function')
question #2: yes, you just need to know the path to the file and do a
document.write('script...
On 8/14/07, xavier [EMAIL PROTECTED] wrote:
Hello,
I'd
This means that :
1) you assume all clients are able to deal with compressed pages
2) your server is going to compress it for each visitor.
3) the headers might or might not be properly dealing with its type.
With mod_rewrite, they are nice tricks to have a compressed file and
serve it instead
Hello,
I'd like to be able to test if a specific plug in is loaded before
calling some of its properties (to avoid throwing an error).
Second question, is it possible to load it if missing ?
Use case:
I have a bit of template that have a sortable table of users, and
another one that list
for
different objects (or is this a limitation of the plugin) ?
Thanks in advance,
Xavier
Thanks, very interesting and clarifying.
Actually, I suspect that the loop (or selector) didn't find any
element because the event handler I was looking for seems to be plug
on a parent element.
Anyway, I did it by filtering on the class attribute, that was a
cleaner option. Thanks to all.
X+
:10 pm, Klaus Hartl [EMAIL PROTECTED] wrote:
xavier schrieb:
Hello,
I want to have an application that works both with and without ajax.
Eg: without ajax, I get /contentWithMenu and with ajax I .load /
contentonly into #content
jQuery([EMAIL PROTECTED]/]).bind(click,function
?
Xavier
On Apr 27, 8:16 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
This is not a terribly elegant way to do it, but it does work.
$('whatever_elements').each(function(i)
{
var hasclick = false;
if (this.$events this.$events['click
?
Thanks in advance,
Xavier
Well my question was rather looking for a dirty hack anyway...
I will use your way and then move to something cleaner, either using a
class or a rel attibute to define what can't be altered.
Thanks,
Xavier
On Apr 27, 8:16 pm, Jeffrey Kretz [EMAIL PROTECTED] wrote:
This is not a terribly
? Is there a doc on the history plugin I missed or
another plugin that I missed ?
On the other history solutions I found (outside of jquery), you needed
to install an empty html that would be used with a iframe.Is it the
same here ?
Thanks in advance,
Xavier
in advance,
Xavier
welcome!
Xavier
Thanks Scott and Karl !
Now I got it, I was missing the $(this) trick to get a jquery object
from a dom one. I've added it to the wiki (on each and on get
sections).
Xavier
On Apr 12, 4:28 pm, Scott Sauyet [EMAIL PROTECTED] wrote:
xavier wrote:
I have a two level list :
[ ... ]
I want
23 matches
Mail list logo