I guess this is the answer to my question --
bind( type, [data], fn )
If I use bind, I can pass in data to event handlers.
~PK
On Mon, Jan 18, 2010 at 12:48 AM, Patrick wrote:
> What is the best way to get data into jQuery? Obviously, jQuery
> separates data and presentation. How can
What is the best way to get data into jQuery? Obviously, jQuery
separates data and presentation. How can I pass in a parameter?
Below, you can see how I called a method with a hardcoded value, but
I want to dynamically pass in a value from web page.
$(document).ready(function()
{
/* tweet stat
Hi all,
I have a newbie question. You know how you can pass a variable to a
JavaScript function like this:
onload="getStuff(data)"
Which is done via the BODY tag. Now, jQuery uses $(document).ready
(function() });
My problem is simple: I want to pass in a variable to the ready
(function(). Whe
need a way to
pass it in dynamically. What is the recommended strategy? It may
mean that I need to imploy a different way of calling it, but that's
fine. Perhaps cookies or some database idea may be a workaround, but
I am trying to find what jQuery supports here - that is, how can I
best p
eration off and within a few weeks it will most likely be
> overrun by spammers.
>
> http://ejohn.org/blog/google-groups-is-dead/
>
> On Jan 14, 1:22 pm, Patrick wrote:
>
>
>
> > I tried to get to this forum and ended up at some zoho forum for
> > jquery. Is this the official forum for jquery?
gib,
i've spent most of the day working on my problem, which I believe is
similar to yours. What i've found with IE versus other browsers, is
that if one quote is wrong... added or missing... IE won't load the
results. This may be a place for you to look next.
On Jan 14, 4:03 am, gib wrote:
> $(
gib,
do you happen to have a style in the html you are loading? e.g.
.
Patrick
On Jan 14, 4:03 am, gib wrote:
> $("#datatable").load("includes/Remotes.asp",{funcType: "getData"},
> function (responseText, textStatus, XMLHttpRequest) {
>
s for
ObjA, eventhough the div was cleared?
Thanks!
Patrick
Hi,
I've implemented a mouse over enlarge function using Jquery. I have
added on title attribute but which works fine when the Jquery isn't
working. Once "switched on" it iplements the colours stipulated by the
CSS style sheet. I'm confused as to how I can tell it to do what it
normally does. The o
ref, function() {
> $(this).dialog(options);
> });
> return false;
>
> });
>
> - Richard
>
>
>
> On Wed, Oct 7, 2009 at 7:59 PM, Patrick wrote:
>
> > I'd like to be able to set the size of a jQuery dialog dynamically
> > when I call it based
fields?
Thanks,
Patrick
Gernot,
It's probably not what you want to hear, but I would suggest trimming
the main menu down by creating some groupings. I think you will find
the usability and appearance improves, moreover, your issue will be
resolved.
Best of luck,
Patrick
On Oct 6, 9:06 am, Hetsch wrote:
Ladksak,
try to set the option matchContains to true.
Regards
Patrick
On Sep 3, 5:59 pm, ladksak wrote:
> the problem is that i need it to work with the script i posted the
> link
>
> thats because the UIAutocompleteis not as good...
> if i type "ODE" in the ui he doe
Hi,
have you tried to set the option selectFirst to false?
Regards
Patrick
On Sep 3, 8:15 am, Mil wrote:
> Does anyone have any ideas for this issue?
>
> On Sep 1, 4:49 am, Mil wrote:
>
>
>
> > Hi,
>
> > I am trying to use this
> > autocompletehttp
I have not used it yet, but there is a plugin called dirtyform that
would most likely do what you are wanting to do. It looks very nice.
p
On Sep 5, 5:23 am, Chamila wrote:
> I have a page which displays a list of resources in the database. For
> each of these resources I have a comment form. I
tags that you're binding the click event to introduced
> into the DOM from the showHint AJAX request?
> If so, read this:
> Why do my events stop working after an AJAX
> request?http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st...
>
> On Aug 13, 8:16 am, P
Have you tried an iframe?
On Aug 13, 11:27 am, adam wrote:
> I'm working in a large corporate intranet and used jQuery to build a
> simple javascript include that developers can throw into their source
> (HTML, ASP classic, ASP.NET, etc).
>
> Everything worked fine until I started to deploy out
New to jQuery, I did many searches before posting.
This is happening in both IE6 and Firefox 3.0.13. I've gotten the
following script to work under strange circumstances (explained below
first snippet).
jQuery(document).ready(function(){
showHint(""); // ajax that fires onload, with no pro
terior elements
to the animation or do I need to do multiple animates to create that
effect?
Thanks
-- Patrick
Hello,
I have been looking at this for a few days now and I am not having any
luck.
I am using jQuery 3.1.1.
I don't think I have any character encoding issues, all files are in
UTF-8 format.
Is it possible that I left a header out when creating the XML file -
like the doctype=text/xml? If so
thanks a lot
Hey all,
I tried various solutions to have a case insensitive :contains() on
google but couldn't find one that works with jquery 1.3:
http://dev.jquery.com/ticket/278
http://mkhairul.com/2008/11/26/making-jquery-selectorcontains-case-insensitive/
any suggestion? also it would be good to include
There's also a jQuery plugin which already does this.
Check out: http://timeago.yarp.com/
On Thu, Feb 5, 2009 at 11:36 AM, Bob O wrote:
>
> Thank you everyone for the responses
> bjorsq your solution worked out great. Thank you for the help.
>
>
> On Feb 4, 5:39 pm, bjorsq wrote:
>> To do this
er site, replacing all 's with \'s. The \ here escapes the ' and
makes javascript read it as a part of the string rather than the end
of it.
-- Patrick
On Wed, Feb 4, 2009 at 10:19 AM, Liam Potter wrote:
>
> Glad to of helped.
> My system has worked for me so far, but I
the grid is that possible?
Obviously it would require some sneaky server side Ajax to do too -
but it would require filtering drop downs on each column in the grid
too?
Great work!
Thanks,
Patrick
On Oct 15, 11:13 am, Rey Bango <[EMAIL PROTECTED]> wrote:
> Wow Tony! Just WOW! :
Of course, this works just fine using the built-in methods of XmlDocument
(appendChild, createElement).
I am just mildly surprised this does not work with the JQuery methods.
On Fri, Aug 29, 2008 at 8:37 PM, Patrick Burrows <[EMAIL PROTECTED]> wrote:
> At this point I've tried eve
At this point I've tried every combination of .after I could think of. I
think, at this point, this is simply not possible using JQuery.
On Fri, Aug 29, 2008 at 7:50 PM, Patrick <[EMAIL PROTECTED]> wrote:
>
> Is anyone aware of a simple example which appends a node to an
>
> Email:
>
> Password:
>
>
>
>
> then when you click submit it uses ajax to load the login page that
> checks if you entered the right email and password. if you didn't, it
> would show the login form again. but if you try to login again,
> nothing happen
Is anyone aware of a simple example which appends a node to an
existing XmlDocument?
I am successfully able to update an XmlDocument using the attr()
method. So:
$(xmlElement).attr("Name","new name");
I am even able to create new attributes using this method.
What I would like to be able to do
works on APACHE & PHP.. very odd.
On Jun 24, 3:18 pm, Bil Corry <[EMAIL PROTECTED]> wrote:
> patrick davey wrote on 6/23/2008 5:52 PM:
>
> > data: 'requestID=350&elementID=' +
> > 'ajax' + '&up
ot done in a way IIS
can interpret?
Anyway - looks like I will be passing a map or using a new Edit In
Place (any suggestions).
You can see the code working on APACHE at
http://www.snowpool.org.nz/test/test.htm
- I cannot link to the ASP code... however the HTML file is basically
identical - and both results pages just print out the contents of the
form..
Any ideas? :)
Thanks!
Patrick
On Wed, May 21, 2008 at 1:53 PM, jstrebel <[EMAIL PROTECTED]> wrote:
> When using jquery 1.2.1 ...
Have you tried 1.2.3?
Does it to work if you replace that line with a direct DOM call?
var task = document.getElementById("task_"+checklist_id+"_"+task_id)
P
le to choose 'Dublin' and then only have rows which have dublin as a
city returned.
And then... I want to be able to continue sorting and paging through
my ajax'd data! Fun eh ;) When I get something working I'll try to
post it up somewhere... as long as I can make it readable
ts using JSON/AJAX and Jquery? :)
Thanks,
Patrick
ad URL... but that *does
not happen*. No function is called. If, however, you change the URL
to be a local address (but still incorrect) then the error function
*is* called.
I'm sure I'm missing something fundamental!! But is there a way to
call error functions for remote urls? And if so how!
Thanks,
Patrick
error for the bad URL... but that *does
not happen*. No function is called. If, however, you change the URL
to be a local address (but still incorrect) then the error function
*is* called.
I'm sure I'm missing something fundamental!! But is there a way to
call error functions for remote urls? And if so how!
Thanks,
Patrick
e once. I would
graciously appreciate any suggestions you may have.
Regards
Patrick
Code snippit :
$(function() {
$.ajax({
type: "GET",
url: "./?get=Lignes",
dataType: "xml",
cache: false,
success: function(xml){
$(xml).find("
*bump*
Here's an interesting carousel-style widget, implemented with
Prototype:
http://www.missingmethod.com/projects/glider.html
I'm with Alex, the widget linked in the OP doesn't really seem
"carouselish" to me -- the missingmethod example does.
Most importantly, imho, it allows arbitrary HT
Helloes,
I have a little thingie that clones text from an input into a div:
http://ruphus.com/code/jquery/clonetype/clonetype.html
Seems to work fine, except when I try to backspace away the entire
text in the input -- the final letter refuses to vanish from the div,
even though it's not in the
Hi John and folks,
On the topic of spreading the word, what about some sort of job board
on the jQuery site? Seems to me that it might be a good thing for the
community -- especially if there was some option for clients to allow
code that they sponsor to be released under a reusable license.
Jus
On Apr 24, 1:25 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> you are resizing the tag.
> and that ain't good. use twice as many prev's to jump over the br's
Thanks Jake. I tried it without the s and it does what's
expected:
http://ruphus.com/code/jquery/fisheye/fishimg.html
I'm glad I dug into this
On Apr 23, 7:21 pm, Sapphire <[EMAIL PROTECTED]> wrote:
> Very nice. Will it work for images?
Thanks =]
http://ruphus.com/code/jquery/fishimg.html
I'm not sure why it doesn't work the same way there; only $(this)
seems to be getting resized.
Paging brainiacs! Cleanup on aisle 12!
-p@
Here's my crummy attempt:
http://ruphus.com/code/jquery/fisheye.html
-p@
43 matches
Mail list logo