gt;
>
>
> > Maybe try using something like:
>
> > $.myplugin.fill.call( this, "red" );
>
> > On Wed, Jan 13, 2010 at 6:47 PM, Tim Molendijk
> > wrote:
>
> >> Hey all,
>
> >> I've been developing jQuery plugins for quite some
etc.), while preventing
jQuery function namespace pollution. And of course it should be light-
weight, as these private functions might be called very frequently.
Thanks for your ideas.
Regards,
Tim Molendijk
Hey all -- I've built a site that has two divs with variable content
(eventually this will become 3, but I assume it will scale up to that
with no major issues). I'd like to be able to change content with each
of them using the same pager.
I found a similar post in this group concerning that, but
Can someone post a simple example of creating a tabbed UI with JQUERY?
Adapt the code to something like this:
$("#search").hover(function() { //On hover...
$("#Google").show();
} , function() { //On hover out...
$("#Google").hide();
}
Also, you might have a missing curly-bracket after
rules: {
score_1 : {required: true}
unless you just mis-typed it.
Tim :o]
On Jul 30, 7:57 am, Anoop kumar V wrote:
> I think the validation plugin depends only on the name and not the id.
>
> On 7/29/09, Le
ng under Apache with jQuery 1.3.2.
Just on the off chance that someone else has noticed this, I am
running under Django on a Webfaction shared host.
Any thoughts?
- Tim
o I don't think this
is particular to jquery.
Any comments are welcome. Pointers to relevant documents, RFCs,
dicussions welcome as well.
thanks
tim
On Monday 04 May 2009, Sam Sherlock wrote:
> http://docs.jquery.com/Design_and_Identity
Thanks a lot! Does the trick..
tj
Since jQuery is one of my "tools" - I'd like an appropriately
"public" image to use on my website.
Are any available?
thanks
tim
I have three radio boxes set up where each one is a different value. -
red - blue - green
I'd like when one of them is clicked to change the value of the url.
So for example --Changethisvalue-- would be actively updated on each
click.
http://domain.com/ad/campaign/g/--Changethisvalue--/dck/35
sorry, try this:
username: thankyou
password: thankyou
may take 30 minutes to work
you can go to the following link.
http://dev.inflatableoffice.com/myaccount/leads.php
username: thanks
password: thanks
when you click on a row in IE you will see the issue. for some
reason, after i use the following code:
$("table#leadheader").show();
$("#leadControls").show();
$("div#editta
i am setting reducing a tbody height when the user clicks a row and
then showing content below the table. in IE7 when i show() or set
display to block for the content below the table, IE resets the tbody
height to the original size such that it overlaps my content. i've
put the code in to reset
Unfortunately it's in a cms, that I can't really expose. My host
company is looking at the problem as I expect there are server issues.
Tim
On Mar 24, 5:49 pm, James wrote:
> This sounds more like a server-side issue. Are you running into
> highloadissues on yourdatabase,
I have a website where I pull a lot of different pages into one CMS
page. The problem is the loaded page will occasionaly say "No database
selected". But if I click the link and load the page again the content
will show correctly.
Is there a way to check if connection has been made or a way to de
ode needed, but what a lot of resource loading!
Cheers
tim
Hello:
If jquery itself does not support a tree widget toolkit,
can anyone recommend one, I've tried dojo but
two problems:
1)doesn't work - even verbatim example
2)No support
3)Very big system
Any comments or recommendation welcome.
thanks
tim
?
subsequent public method calls to that plugin return undefined (see
the comments in the pseudocode)
Thanks in advance,
Tim
This worked. Thank you!
On Feb 19, 5:27 pm, James wrote:
> Try:
> $('li', this).length;
>
> On Feb 19, 3:14 pm, Tim wrote:
>
> > So I have a main list of states in an unordered list and then a
> > unordered list of cities within each of those. So I wanted
So I have a main list of states in an unordered list and then a
unordered list of cities within each of those. So I wanted to count
the number of cities per state.
Alabama
http://www.google.com";>Alabama State
http://www.google.com";>Alabama State
On Wednesday 18 February 2009, Tim Johnson wrote:
> The goal is a multi-stage process schema where a form is rendered
> by a cgi script and inserted into a static web page via this method:
<>
> The second stage is to validate the input form that is rendered by the
> meth
ach could be tried.
In the meantime, :-( I'm stymied on another issue -
see subject: "serializing data from a jquery-rendered form"
Keep up your good work!
Tim
>
> ...
>
> $(document).ready(function(){
> $.ajaxSetup( {
> dataType: 'script'
> }) ;
>
not provide the encoded
string that the CGI script is looking for. Does jQuery provide a function
to serialize the 'myform' argument?
thanks
tim
On Wednesday 18 February 2009, Alexandre Plennevaux wrote:
> you can use load, you just have to setup the ajaxSetup controlling
> your ajax main parameters so you set it to your liking, then you call
> the load(). It is built on top of the ajax method to ease its use.
> See: http://docs.jquery.com
ack) are:
Thank you. That clears up a lot. But the question that remains is that
two different types of data are returned:
1)Script
2)Text
The answer may be in the mime type. $()load is so much easier to use.
I will research futher.
regards
tim
ed Source" add-on.
If I uncomment the alert() above, I see the javascript in the response.
Does anyone have an answer for this mystery. Or a work-around. Any links
to discussions on this topic?
thanks
Tim
On Sunday 15 February 2009, mtsmit2 wrote:
> The following is a pretty good starting point.
>
> http://docs.jquery.com/Plugins/Authoring
What is was looking for you.
thank you
tim
Google gives me lots of hits on "jQuery Plugin"
However, I have yet to find a _very_ simple example.
One that would demonstrate the simplest syntax and
also demonstrate where to install the file with the
plugin..
Links are welcome. I'll take it from there.
thanks
Tim
On Saturday 14 February 2009, C.Everson wrote:
> On Sat, 14 Feb 2009 10:41:05 -0900, Tim Johnson wrote:
> > Using Ajax with jQuery - would it be practical and safe for the
> > document to generate a Session ID in the onload or document.ready
> > phase and pass it to t
a Session ID in the onload or document.ready
phase and pass it to the server-side script?
Comments, caveats and examples are welcome.
thanks
tim
On Thursday 12 February 2009, Mike Alsup wrote:
> > Textual status is fine.
> > Where is documentation on status strings?
> > Thanks
> > Tim
>
> When the 'success' handler is invoked the textual status is always
> "success" (unless you're
allback
> > was "success", not 200.
> >
> > I hope the question is clearer now.
> > thanks
> > tim
>
> The HTTP status code is not returned to the success handler, only
> textual status is.
Hi Mike:
Textual status is fine.
Where is documentation on status strings?
Thanks
Tim
umerical statuses via the w3 protocol
or text strings were being returned. I just did my first successful ajax
call using jquery and the status returned in the callback was "success", not
200.
I hope the question is clearer now.
thanks
tim
In Advance_ and thanks for all the help I've had so far.
tim
Thank you very much James.
this is great!
cheers
tim
On Wednesday 11 February 2009, James wrote:
> You can use a generic classname on all your forms.
>
>
> ...
>
>
>
> ...
>
>
> $(function() {
> $(".myForm").submit(funct
> $('form').submit(function(){
> //do your ajax here and return false
> });
But what would bind the form in your example? I frequently
work with multiple forms. I.E. is 'form' in your $.submit()
above the name or ID of the form or is it an object from which
name or ID could be extracted as a property.
Thanks
Tim
to convert the 'form' object into a JS
object? I've worked with another framework that does that
'auto-magically'. Could you refer me to an example of how to
do that? And I will research it as well :-) not asking you to do
my homework for me.
thanks
tim
uery.js :: anonymous :: line 3636" data: no]
"""
Am I correct that the callback function needs another argument?
It would be helpful if someone could point me to what I have done
incorrectly.
Thanks
Tim (not an ajax virgin, but a jQuery noob)
On Sunday 08 February 2009, pedalpete wrote:
> Sorry Tim, I didn't understand it that way.
:-)
> You should still be able to do this fairly simply.
Looks like I will also have to use a wrapper to get the form
using the 'this' keyword, since I work with multiple forms.
I t
le that I submitted, the form is passed
as the 'this' keyword, allowing this function to have more than one caller.
Thanks again, more examples are welcome, but perhaps I would have
to dig deep and learn to write a wrapper.
cheers
tim
> });
> [/code]
>
> On Feb 8, 4:23 pm, T
it parameter and passed to the Ajax function.
I'd appreciate pointers to jQuery examples that would help me with the
transition. I'd like an approach that requires as few changes to the form
tag as possible.
Thanks
Tim
Thanks Aaron,
I kinda figured that out when I found that things worked fine except when
both checkboxes are checked and you uncheck one, my script breaks. I just
wanted to use jquery to show the price of a course when its checkbox is
checked. i've already solved the server side with java. I guess
x27;m certain you could go the opposite way, as well.
>
> Hope that helps, somewhat.
My suggestion to him was consider div or span tags inside of td elements.
I'm probably a bit ahead of myself - I should try a test with jquery writing
to such a tag inside of a table cell - - -
thanks for the reply
tim
ht be necessary? Since this is a general question,
links to discussions or documents are welcome and may be sufficient.
Furthermore, caveats and warning are welcomed also.
thanks
tim
Will using
$("#c_t_form_container form").live('click', function() {
submit the form?
On Feb 2, 2:09 pm, Mike Alsup wrote:
> > I've spent the whole day trying to figure this out. I'm appending a
> > form into a td, then that form has a submit action on it. It works in
> > all browsers except fo
I've spent the whole day trying to figure this out. I'm appending a
form into a td, then that form has a submit action on it. It works in
all browsers except for IE, where it just goes redirects to another
page. I'm thinking that it might be that the new form isn't a part of
the DOM in IE7. But if
Hello,
I'm trying to write a script to move a element from one unordered
list to another after it fades. Here is my code, I can get it to fade
but not move. If I remove the fade I can get it to move correctly.
Thanks for the help.
$(document).ready(function(){
$(".color").click(function
That worked for me Balazs. Thanks for your help.
If anyone is having a problem with this feel free to contact me about
it.
-Tim
On Jan 15, 10:01 am, Balazs Endresz wrote:
> In jquery.liveFilter.js a pseudo selector defined as a string, which
> was deprected since 1.2 if I remember
oops. i need to put leftL xxxpt. forgot the pt. it always helps to
post. seems that as soon as i do, i find the answer myself.
i'm using inline styles to position some s inside the cluetip.
using an ajax loaded cluetip. they are ignoring the positioning css.
however, when i open the page directly in my browser, everything is
properly positioned. fyi, i put some color to the text using css just
to see if inline styles we
nevermind...i had jquery and blockui initialized in the main page and
the thickbox. oops. i just took them out of the thickbox and it
worked.
On Dec 1, 9:04 am, Tim <[EMAIL PROTECTED]> wrote:
> i appear to be having a thickbox and blockui conflict. blockui works
> on the page fine
i appear to be having a thickbox and blockui conflict. blockui works
on the page fine until i open and close a thickbox. i am using
tb_remove() to close the box. after which, i get a message in firebug
that blockui is not a function. any ideas? thanks.
--~--~-~--~~~---
$.fn.data() internally uses $.fn.trigger() for whatever reason. When
using $.fn.data() heavily, $.fn.trigger() starts to slow down the
code. In my situation Firebug profiler tells me 20% of the time is
consumed by $.fn.trigger() as a result of $.fn.data() calls.
Shouldn't it be possible to get ri
Hello,
Run the following code snippet in Firefox and open up Firebug. It
fires a custom event upon left or right click. The handlers for
'myclick.left' and 'myclick.right' work as expected. The problem is
that 'any click' is only logged to the console in case of a right
click, and not in case of
this helps you, to help me ;).
Greetings
Tim
First sorry for the errors in my example. Braces was a typo. Div
with name attribute was an error also. My real issue is with a select
tag.
Anyway...while creating a sample page I have found that the problem is
different than I thought. It seems the problem is that jQuery cannot
find elements
Given this element...
...why this does not match the element...
${'#foo'}
If I change or remove the name attribute, it does match. Is this by
design or a bug?
I am getting started with the Media Plugin. I am testing with a flash
movie. It seems to be working fine in Firefox. In IE however, it
does not play and instead shows a broken link. Here's the generated
source:
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/
swflash.cab#version=7"
Is there any way to detect that a media (OBJECT or EMBED) is done
playing? The specific action that I want to take is to go to another
page; however, it would be ideal if I could take other different
actions as well. I have seen an example of using a PARAM "flashvars"
to to set a var named "endu
8 pm, tlob <[EMAIL PROTECTED]> wrote:
>
> > docs are realy slow. Im based in switzerland.
>
> > On Jun 12, 12:07 pm, Tim Swann <[EMAIL PROTECTED]> wrote:
>
> > > I'm based in Ireland and I find that accessing the docs is very slow.
> > > Are there any
I'm based in Ireland and I find that accessing the docs is very slow.
Are there any European based mirrors for the documentation?
If not are you open to the idea of partnering with European Based
hosting companies for mirroring the docs?
IE7.
Any ideas/suggestions why?
TIA
Tim
Does anyone know if there is any combination of plugins that would
allow me to use a calendar control from inside a dialog? I have tried
all combinations of jQuery UI dialog and calendar, BlockUI, and jQuery
datePicker.
The problem is, I guess, these calendars actually *are* modal dialogs
too, a
Hi
Can anyone else help with this?
I tried adding a third item in var ids = [ 'latestArticle',
'inTheMag' ]; but have had no joy in getting it to randomnly appear.
Any ideas?
Cheers
On Apr 5, 3:49 pm, Tim Marshall <[EMAIL PROTECTED]> wrote:
> Hi Sperks
>
> I&
Hi Sperks
I'm a bit new at JQuery and have been following what you have done
here. I'm trying though to add a third id in and can't figure out how
to get it to work with an additional set of div's or more for that
matter. Can you help?
On Feb 22, 2:33 pm, sperks <[EMAIL PROTECTED]> wrote:
> I wo
est.html. Ideally I would like to avoid having to
create the items in an array but that's the only way I can think of having a
never ending loop otherwise.
Thanks,
Tim
[1] http://sorgalla.com/jcarousel/
[2] http://www.agsalons.com/test.html
Check out http://forrestcroce.com. It's using a three-tiered dropline
menu which is a style variant of Joel Birch's Superfish menu. It's
styled for the child menus to "step down" from the parent with space
between to give a see-through effect without transparency (except in
IE6, but it works the
hes both KNOWN_NODEs here (with jQuery 1.2.3 and
the XPath plugin). I don't know how, but my patch to the XPath plugin
fixes this behavior.
Hope I haven't confused you even more,
Tim
d, I've submitted a patch to
http://plugins.jquery.com/node/567 which fixes this.
Tim
ls deep with CSS expressions.
However, I now realise I can do this with the children() method:
$(document.documentElement).children().find('> KNOWN_NODE')
Lemme see if I can hack that into the Basic XPath plugin...
Thanks,
Tim
anything at all.)
I don't see any way to do this with CSS selectors. The Basic XPath plugin
translates the XPath expression to "* > KNOWN_NODE", which returns both
the right node _and_ the wrong node.
Anyone have a clue as to what I should do?
Tim
i'm trying to use xinha and the form plugin. for some reason, the
form plugin is not grabbing the input. xinha works without the form
plugin and the form plugin works for everything else on the page. any
ideas? thanks.
tim
after some testing it really isn't a datepicker issue. the tab takes
time to load and my attempt to attach the datepicker to the field
fires before the field is loaded into the tab. anyone know how i can
force the script to wait for the tab to be loaded?
nevermind, doing some more searching got me the answer. found it
here.
http://groups.google.com/group/jquery-ui/browse_thread/thread/57944de13405077b/9a36504f1068ef83?lnk=gst&q=tab+ajax#9a36504f1068ef83
$("#tabs > ul").tabs({
load: function() {
testit();
i'm loading a page using ui tabs that has a date field on it. i would
like to attach ui datepicker to it, but i can't seem to get it to
work. i've always loaded datepicker through the onready function. it
will not work in this case cause the document is already loaded and is
inserting info from
ottom of the div? i feel like some positioning
css might do it, but i haven't had any luck.
On Nov 28, 12:16 am, Tim <[EMAIL PROTECTED]> wrote:
> i would like to make a table resizable. i thought that i could
> achieve this with jquery ui. so far, i'm not doing so w
try this:
$("input:[EMAIL PROTECTED]:checked").click(function() {
});
On Nov 28, 8:42 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I have two radio buttons, user can choose one of them, when it is
> clicked, it will trigger some function calls, now, how to know which
> radio button is
.resizable();
});
Organization
First Name
<
On Nov 28, 12:16 am, Tim <[EMAIL PROTECTED]> wrote:
> i would like to make a table resizable. i thought that i could
> achieve this with jquery ui. so far, i'm not doing so well. examples
> show a div, textarea, and image. i t
i would like to make a table resizable. i thought that i could
achieve this with jquery ui. so far, i'm not doing so well. examples
show a div, textarea, and image. i thought that i could put the table
inside the div, but that didn't work. any ideas? thanks.
Karl,
$('#cluetip').hide();
this was all i needed. thanks a ton.
Tim
On Nov 25, 4:28 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> You could try something like this:
>
> $('someListItem').click(function() {
>$('#cluetip').hide().remov
i am using clueTip with ajax to grab a list from a db. i would like
the clueTip to close when the user selects an item from the list. i'm
guessing there is an easy way to do this, but i've tried for a while
now without any success. i tried calling cluetipClose() with the
onclick event, but sinc
When a page is unloaded, jQuery is not unbinding any bound events
causing a memory leak in IE6.
Below is a very simple test page. If it is opened in IE6 you can see
the memory usage skyrocket.
$(document).ready(function() {
The problem is that 1.2 does not send the xhr header if the call is
made with a full http:// uri. If you just use the pathname it works
fine. Took me a few hours of playing to figure this one out. Guess its
a cross site security fix.
On Oct 11, 4:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wro
Anyone have any idea why this code works in 1.1.4 and not in 1.2.1?
The header apparently does not get sent...
(using in a Ruby on Rails app where setting this head RoR responds
with the proper js template)
$.ajax({
url: event.target.href,
data
Given the following as an example, does anyone know how I can
highlight cells r2c1 and r2c2 whenever row 3 is moused over? Maybe
something like, "add the children of the previous sibling to the
selection criteria only if they contain a rowspan attribute"?
http://www.tubenation.com/jquery/highligh
86 matches
Mail list logo