>>jQuery in Action
>>Bear Bibeault, Yehuda Katz
>>http://www.amazon.com/jQuery-Action-Bear-Bibeault/dp/1933988355
I sent a shout out this morning on this list about that one. I love it.
I would strongly recommend these two:
Pro JavaScript Techniques
John Resig
http://www.amazon.com/Pro-JavaScript-Techniques-John-Resig/dp/1590597273
Learning jQuery: Better Interaction Design and Web Development with Simple
JavaScript Techniques
Karl Swedberg, Jonathan Chaffer
http://www.amazon.co
So, you are saying I just have to use:
$.admin.ajax.someVar
?
Mike Alsup wrote:
> >
> >(function($) {
> >$.admin.ajax = {
> >someVar: null,
> >request: function(formData, jqForm, options) {
> >
On Sun, Feb 24, 2008 at 7:04 PM, lvp1138 <[EMAIL PROTECTED]> wrote:
>
> Hi Mike,
>
> It doesn't have a target... take a look at the source code...
>
> Peter
>
> On Feb 24, 1:25 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> > Peter, this is the same problem as before. You cannot use the form
> >
The documentation is essentially this.
http://docs.jquery.com/Main_Page
Click the various links under jQuery API Reference.
On Feb 24, 4:51 am, jonpren <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there anywhere listed all functions that is added by including
> jquery?
>
> Best Regards - Jon
I was really sure I had properly searched the online documentation
before posting this problem but a 're-read' revealed the solution ie
$(document).ready(function(){
$('input:text').click(function () {
var index = $('input:text').index(this);
$('div').text("That was div index #" +
Hi Mike,
It doesn't have a target... take a look at the source code...
Peter
On Feb 24, 1:25 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> Peter, this is the same problem as before. You cannot use the form
> plugin's 'target' option if your server is returning XML documents. That's
> just no
Total rookie here.
I'm trying to have a collapsable/expandable sitemap on the bottom of a
site I'm working on. Here's the site it's for:
http://www.believerscenter.com/beta/2007/yx.php
(Click on the bottom 'site map') - you'll see it expand and contract.
It's currently using mootools, but I want
In the following code:
$(document).ready(function() {
$('#theinput').change(function(){
$(this).val('something else');
alert('hello');
});
});
Rob,
> Try it in Safari,
It's already a known issue, and not currently supported. That's why I
listed IE6, IE7, FF2 and Opera 9.2x as the successfully tested
browsers. Please use one of the tested browsers if viewing the site
will help you to comment on the issue I raised.
> it looks dreadful.
Hi Jake,
Sorry for the delayed response. Due to an oversight on my part the
flvPlayer can only be overridden globally using
$.fn.media.defaults.flvPlayer. And it looks like I've got a bug supporting
the old metadata plugin, but the current one seems to work fine. Here's a
test page that shows a
agreed, this is not the best way to handle this issue. I'm considering
it as a temporary work-around to a technical issue with the underlying
cms.
On Feb 24, 9:49 am, the_woodsman <[EMAIL PROTECTED]> wrote:
> Seriously, if you want this to scale when you have more names in the
> future, it'd be b
The documention is here:
http://docs.jquery.com/Main_Page (jQuery API Reference).
And there's also a handy API browser:
http://remysharp.com/jquery-api/
--Klaus
On Feb 24, 10:51 am, jonpren <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there anywhere listed all functions that is added by including
Hi, Jon :)
Well, yes, there's the jQuery api reference, here:
http://docs.jquery.com/Main_Page
Quick & simple, but a bit out-of-date: http://visualjquery.com/index.xml
(good idea: Look things up on Visual jQuery, then check for more info
in the api).
There's also a bunch of tutorials at http://
pawe schrieb:
Hi!
I've tried to make treeview plugin work with permalinks, but without
luck:
http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
Heres an example:
http://cms.segast-i.eu/
Any ideas are appreciated!
What exactly is the issue? The testpage seems to work fine, apart f
It doesn't work in Firefox either.
I think the problem ist that you used the script tag without a closing
tag. Although theoretically valid XHTML that isn't supported well in
browsers. The following
is seen as
by the browsers - especially because you're serving XHTML as text/
html, thus all
Thanks for the response! I'll let you know how it turned out.
On Feb 20, 10:41 pm, "Macarrão" <[EMAIL PROTECTED]> wrote:
> Hails! Well, I've been using this plugin and it works nice!
>
> I think you'd better give the attribute "name" the same value as the
> "id" attribute. I believe IE and Opera
Hi,
I have a problem with my toggle function...it disables all the links
in the tr (when i click on the link it just changes the color of the
tr)...How do i fix it?
$(".table_data tr").toggle(
function(){
$(this).css("background-color","#FE
I think your problem is different. It looks like part of the tooltip
is hitting the mouse, and that causes a mouseout from the invoking
element, which closes the tooltip; when the tooltip then closes, the
mouse is once again over the invoking element. This continues. You
might want to try
Hi Paul,
Try this:
$('form :input').each(function() {
var thisInput = $(this);
var trimmedVal = $.trim($thisInput.val());
$thisInput.val(trimmedVal);
});
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 23, 2008, at 11:25 PM,
Hi, I'e just started using jquery and have to say I like it. One big
problem though, my site (http://www.georgemauer.net) doesn't show up
when I try to go to it in internet explorer 7. Nothing, its blank,
just shows up as the background color. Strangely enough, all the html
in view source is st
I am trying to study user interface usage based on links clicked, so I
attached a pingback to the click event of every link. It simply does a
basic $.get(url) to the statistic tracking script on the server.
However, I have noticed during my tests of this rather simple code
that a LOT of my pingbac
Hey, I was wondering what books you guys would reccomend? I have been
looking here on the groups and on Amazon and not sure which one to go
with?
Any ideas?
Thanks!
Ryan
Hi,
Is there anywhere listed all functions that is added by including
jquery?
Best Regards - Jon
Hi,
I think, that's a really great plugin! It can also be used to get
international content. For this, it would be fantastic, if you can add
one possibility. I want to register my own additional helper functions
(for example for format a decimal as money). Which can be called at
the variables. Th
Peter, this is the same problem as before. You cannot use the form
plugin's 'target' option if your server is returning XML documents. That's
just not going to work.
Mike
On Thu, Feb 21, 2008 at 4:14 PM, lvp1138 <[EMAIL PROTECTED]> wrote:
>
> Thanks Mike. I'll keep checking. Maybe I'm doing
You can use jqModal's onLoad event.
$('#modal').jqm({ajax: url,target: 'div.jq_content', trigger: false,
modal:true, onLoad: modalLoaded }).jqmShow();
function modalLoaded(hash)
{
// call function or bind event to elements
}
On Feb 24, 2:07 am, "J. Childers" <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
Hi everyone.
I have got some problem jqModal and jquery 1.2.3, and here it is.
I am creating simple modal like this.
$('#modalcontent').jqm({ajax: url,target: 'div.jq_content', trigger: false,
modal:true, onLoad: modal_load }).jqmShow();
function modal_load (hash)
{
modalReady(this);
}
And it fi
Sorry for my bad english,
I have code:
$(this).dblclick( function() {
$(this).html('');
$(this).dblclick( function() {}) ;// try remove event Don`t
work
});
And I want block second dblClick
Thanx
i have used the clueTip pluging but tooltip flicks in FF its working
ok in IE/
http://www.unirazz.com/tooltip.html
i have also try to $.cluetip.setup new element and position:relevant
to body but its not working.
thnx
after a litle thinking i realized this could be done easier by doing
the opposite, using wrapinner()
generic header stuff
$('#wrapit').wrapinner('...');
Well, i tried a few things and dit it that way:
document.theForm.ThecheckBox.parentNode.lastChild.nodeValue =
"thetexte"
thanks anyway
On 19 fév, 15:36, "Jake McGraw" <[EMAIL PROTECTED]> wrote:
> $("label").each(function(){
> $(this).html($(this).html().replace(/[^>]+$/,"Replacement"));
>
> }
> That's a good point, but it looks like he is trying to find td
> elements with an id that *starts* with "order," so they could be
> "order_1", "order_2", etc. I agree, though, that it would be less
> cumbersome to simply use a common class.
Yes, I find "order_1", "order_2", etc.
In the nu
yea, that is workable. until you apply it to 100 elements on a page.
document.write is way faster, but only works during an initial page
load.
sigh...
thanks karl...
i have the same problem please check in FF
http://www.unirazz.com/tooltip.html
the tooltip flicks. i have tried to setup the cluetip with new element
but same problem. please help
thnks
Update:
Works great, I just had a problem that when I was using json, the data
that was returned from albums.php wasn't json formatted...
Seriously, if you want this to scale when you have more names in the
future, it'd be better to do at least some of the work server side, if
you can- perhaps put all names in a span with class personName, then
play around with those elements in JQ on the client side.
Hi!
I've tried to make treeview plugin work with permalinks, but without
luck:
http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
Heres an example:
http://cms.segast-i.eu/
Any ideas are appreciated!
Hi,
I have the following html
text
with code like this:
$("input").filter(".xx").click(function(){
//alert('name: ' + $(this).attr("name") + ' ' + 'class: ' + $
(this).attr("class") + ' ' + 'id: ' + $(this).atr("id"));
// code should come
Maybe you can find a few here:
http://www.noupe.com/jquery/50-amazing-jquery-examples-part1.html
On Feb 6, 12:00 am, carvingcode <[EMAIL PROTECTED]> wrote:
> Are there any examples of full RIA applications built using the jQuery
> platform? Please post URLs. TIA
Hi Jorn, I have a similar issue. But putting the custom rule on only
one of the fields means that the onkeyup/onblur validation will only
work when the user is in that field, which is not very clear for the
user if input in multiple fields affects validation.
Is there any solution to this?
On F
Awesome! Thanks for a push in the right direction. :)
~Steve
http://goodcf.instantspot.com/blog
Dan G. Switzer, II wrote:
> Steve,
>
>
>> I searched around the web a bit for a way to refresh a div tag at set
>> intervals but haven't found anything that pertains to jquery. I saw
>> some s
Hmm. I am creating hidden form elements and i am inserting returned result
to that element. Here is sample cod:
function ajaxFileUpload()
{
$.ajaxFileUpload
(
{
url:base_modal+'c=content&m=uploadFile',
secureuri:false,
sir thanks a lot for your time!
yes u r right its the problem of server.
I would like to go through all inputs in a form and trim the fields in
them.
How do I do this with the $.each function?
I looked at the documentation and its not clear. Please give me code.
>
>(function($) {
>$.admin.ajax = {
>someVar: null,
>request: function(formData, jqForm, options) {
>alert("Setting someVar = Hello World.")
>
>this.someVar = "Hel
@Jeffrey: thank you thank you - that did it!
Hopefully this helps some others, too... I found many more instances
of this question than possible answers to it when searching.
Thanks again!
On Feb 23, 6:01 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> Try this:
>
> $.browser.msie6 =
>
> I was also thinking that the routine you built could be converted into
a search-term highlighter.
There's already a jQuery plugin that highlights, called, conveniently-
enough, highlight!
Excellent suggestions.
I will have to investigate a bit more on how much text will be on the
different pages and whether I can make any improvements on the number
of names returned in each xml file. (I might also be able to get list
of names as a json feed).
I was also thinking that the routine
My question is pretty simple... I have the code posted above and it
doesn't work. To test the problem, load the page (of course lol),
click on "Submit" and you'll see a message stating what the script is
going to do next, then, click on "Show!". You'll see the value "null"
and I don't understand w
:)
In case anyone wants to know I think I found out the problem:
The thing is, in Opera, the whole page(100%) has to be filled with
something. I mean, if your page is long enough (you have a vertical
scrollbar), you won't have this problem. But lets say your page only
fills like 70% of the screen, t
It's very well done. Just got my preorder from Amazon yesterday. Read
some of it last night and flipped through more of it this morning.
I already feel illuminated.
Thanks David. That's perfect!
On Feb 24, 12:22 pm, Dave Stewart <[EMAIL PROTECTED]>
wrote:
> Yup - you need jQuery and Regular Expressions:
>
> var elements = $('a[class="tablink"]')
> elements.each(
> function(){
> var html = $(this).html()
> html = html.replace(/([A-Z])/g,
Thomas Hill schrieb:
I'm using jQuery 1.2.2, and treeview 1.4, and I've read as much as I
could find on treeview. I can't seem to find, however, a demo on
loading specific nodes with dynamic data when they are expanded. The
async demo doesn't necessarily show how to do that, either, unless
it's
Yuval schrieb:
Hey Jörn,
It seems that whenever I define an element as not required:false and
set a maxLength the validation plugin wouldn't bother limiting the
field to the maxLength, When I switch to required:true - everything
works perfectly. Is there a solution to that?
Could you create
oscarml schrieb:
HI, do you know if it planned to develop an API documentation pure
AJAX. I shouldn't say this, but something similar to extJS/doc hehe.
There are currently two options, both not quite perfect but stil helpful:
http://remysharp.com/jquery-api/
http://dev.jquery.com/view/trun
jmcervera schrieb:
Hello,
This is my first post in this group.
I am trying to use the
Form Validation Plugin with Ruby on Rails, and I can´t make it work.
It seems only working with forms using the 'get' action, not with
'post.
An this goes against the REST principles of the architecture I am
u
scud schrieb:
I fixed the IE6 not-working issue by not using the packed version of
the validate.js, so apparently the packed version is busted in IE6. I
went with the full text version and almost all seems to be fine.
I still have the problem of the fields not being checked as a user
enters in
Yup - you need jQuery and Regular Expressions:
var elements = $('a[class="tablink"]')
elements.each(
function(){
var html = $(this).html()
html = html.replace(/([A-Z])/g, '$1')
$(this).html(html)
}
)
As well, when your name list gets rather large, I'm sure other pre-
processing routines could speed things up.
For example, you could split the XML list into 26 sections, based on
First Name, then text the html for which Capital letters it contains.
You then only loop through again for those names
Hey Stephen,
RegExps are always going to be slower than a basic indexOf, so perhaps
when you loop through the names you could try running an indexOf
first, then if it comes out positive, only then do you the RegExp
replacement.
I imagine that there would be a cutoff point where the performance
in
I'd like to turn all instances of "tablink":
Drop Cap
Into this:
Drop Cap
That is, place a span around each uppercase letter. Is it possible to
do?
Thanks,
Rus Miller
I'd like to turn all instances of "tablink":
Drop Cap
Into this:
Drop Cap
That is, place a span around each uppercase letter. Is it possible to
do?
Thanks,
Rus Miller
Dave, That is great! Thanks.
I've tested it out with an array of 1000 names as a worst case
scenario and it is pretty slow. I'll have to see about refining the
list of names if possible to keep it as small as possible.
Thanks again,
Stephen
On Feb 23, 7:16 pm, Dave Stewart <[EMAIL PROTECTED]>
wr
As long as you're serving XHTML as text/html it isn't XML anyway. It's
just HTML with some weird slashes where they don't belong. Any
browser will use its tag soup parser.
Mime type matters, Doctype not.
http://annevankesteren.nl/2004/07/mime
And that's why you can safely use HTML if you add el
I'd like to turn this:
Iconic Figures
into this:
Iconic Figures
Is there a way for jQuery to search and replace uppercase letters?
Yup. Nothing to be done about it.
Karl Rudd
On Sun, Feb 24, 2008 at 3:18 PM, timothytoe <[EMAIL PROTECTED]> wrote:
>
> OK. Since I'm creating so much of the web site on the fly, there's
> really no way of knowing whether I'm valid or not, is there? I mean
> it's pretty easy to make my trivial
68 matches
Mail list logo