Washington DC Developers,
I'm speaking about jQuery and jQuery UI to some developers at the Library of
Congress this Thursday at lunch. They were nice enough to open it up for
anyone to attend. If you're interested, see the details below and shoot an
email to Ed Summers so they have an idea of
Wohoo! What a shame I can't attend..
On Tue, Sep 16, 2008 at 4:31 PM, Richard D. Worth [EMAIL PROTECTED] wrote:
Washington DC Developers,
I'm speaking about jQuery and jQuery UI to some developers at the Library
of Congress this Thursday at lunch. They were nice enough to open it up for
Ed Summers... I know him! In fact I like him too! I worked with Ed and
the OSI team to create the World Digital Library Prototype (and used jQuery
in fact).
I have to be in New York for that date but please give OSI my kindest
regards and let them know I wish I could join you all.
PS I also
I'm getting even more convinced that this is an issue with FF3
jQuery. Interestingly, it only affects local JS files, which are
inserted as text into the head of the document between script tags.
Remote files, which are loaded using script src=... and monitored
using onload / onreadystate
From what I can tell it works great for me (ie 6).
On Sep 15, 11:25 pm, JFRanger [EMAIL PROTECTED] wrote:
Hello World!
Can some one can tell me WHY the content of my div's disappear (IE
ONLY) at the end of the slideDown/slideUp functions.
See it in
Some additional info: I did try the following (I've included an
excerpt from the example file), but the results weren't very good.
link rel=stylesheet type=text/css href=css/superfish.css
media=screen
script type=text/javascript src=js/jquery-1.2.6.min.js/
script
Hey all,
I'm using the toggle() function to show/hide some div with a form that
I have here. Below that div there's another div, which is clickable
and it's text alternates whenever the display of the above div is
changed.
All is working that way. The problem is that on some pages I need that
Hi. Pretty new to jquery, but have gotten some ajax working - my
question is, is it normal that the serialize does not send the value
of the submit button itself? If so, why is that?
It caused me all sorts of problems, as my php code responds to various
HTML post requests based on the value of
i have a serach box that checks for a product code or product keyword.
I need to find out how i can check if the input submitted on this
search box is a number, and if it is, remove any white spaces.
The reason is that product codes coming from a feed have a space in
them and it is much easier
Ok, my temporary fix has been to alter the following block of code
from line 2656 in jquery 1.2.6:
// If we're requesting a remote document
// and trying to load JSON or Script with a GET
if ( s.dataType == script type == GET){
Well, a number by definition can't have spaces in it. So if there ARE
spaces, then it's a string, and can be treated as such.
Alternately I suppose you could try multiplying the value by 1 and see what
you get.
andy
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL
Hi all,
Is there any way to use jQuery to stream an AJAX response as it's
downloading?
For example, I'm running a long script via AJAX and I want to post
progress updates on the screen as it goes - at certain intervals I
output a percentage via the AJAX script which my page can then read
I was able to get it working by downloading lightbox and adding
farbastic to the index file that was in the lightbox download:
I added div id=picker/div to the body and the head looks like:
head
titleLightbox JS v2.0 | Test Page/title
link rel=stylesheet
Totally off the top of my head (and therefore totally untested, but it
should be good)
var EnteredValue = $.trim($(#SearchText).val());
var TestValue = EnteredValue.replace( , );
if (isNaN(TestValue)) {
return EnteredValue; // User must have entered a keyword
}
else {
return
okay..so how can check if the string only contains numbers?
im quite new to jquery..would i need to use reg ex?
On Sep 16, 3:58 pm, Andy Matthews [EMAIL PROTECTED] wrote:
Well, a number by definition can't have spaces in it. So if there ARE
spaces, then it's a string, and can be treated as
I have a site with several borders that are part of jQuery commands.
One has rounded corners, others don't. IE7 doesn't render ANY of
these borders. There are two divs that are not touched by jQuery, and
their borders work fine. Everything that has a jQuery click event, or
rounded corners has
Fixed.
The problem is that toggle() kind of messes with that capture of the
state. When it's block captured on toggle(), its infact hidden yet,
not showing, and vice-versa.
As you can see in de navbar style example the submenu's (http://
users.tpg.com.au/j_birch/plugins/superfish/#sample4) are aligned to
the left (attached to the first menu item).
I've been trying to align them to the right with no luck. The reason I
want to do this is because I have a design with
Hmm, actually I think I'm still getting the problem, it's just being
quiet about it now :(
On Sep 16, 3:00 pm, Mark T [EMAIL PROTECTED] wrote:
Ok, my temporary fix has been to alter the following block of code
from line 2656 in jquery 1.2.6:
// If we're requesting a remote
Hi. Pretty new to jquery, but have gotten some ajax working - my
question is, is it normal that the serialize does not send the value
of the submit button itself? If so, why is that?
Yes, that is normal because the serialize method has no way of knowing
which submit element was clicked. If
okay..so how can check if the string only contains numbers?
Takes out user entered spaces
var TestValue = EnteredValue.replace( , );
Checks if the remaining value is numeric
isNaN(TestValue)
And this method doesn't really need jQuery (nor would i see why it
would have to)
Ok Brandon,
I found this in another post:
var doc = $('#testframe')[0].contentWindow.document;
$(doc.body).append('spantest/span');
This seems like it would help, but I am not sure how to use this,
along with what you posted to get it working correctly. Somehow
sending the GET within the
Actually, scratch that - it seems to be working now.
I'd still appreciate a comment from a jQuery guru on the original
problem I've worked around here!
Mark.
hi thanks for the quick code but this does not seem to evaluate if i
enter a number.
see code below
$(#searchForm input.submitBtn).click(function(e){
var EnteredValue = $.trim($(#keywords).val());
var TestValue = EnteredValue.replace( , );
http://bradleysepos.com/dropbox/jquery-docs-wierd.png
Notice the title, heading text and the layout issues. Looks like 1/2
an error page, 1/2 the actual page. Anyone working on the server right
now?
Thank Mike,
That was a help. Thought I was going crazy there for a while. The
problem with working with ajax in a new language is that you never
know what part of the transaction is problematic.
I have set up an example with ajaxForm and have it working fine with
json. However, is there
Hello,
I am working on a site where I am using the Accordion script from
http://docs.jquery.com/UI/Accordion
on the left navigation.
You have an option to keep a section open by defaultbut I need to
change which button is opened depending on which section you are in,
and I have that
This may be quite simple for many, but I am stuck trying to make a
dynamic $.post() where the request (post) variables passed are fed
from a dynamicly changing array.
/-- CODE --/
// just above this is a function that takes a url string and parses
out the variables and store them in an assoc.
Hi. I guess if the process is REALLY long, like minutes or hours, it
could be done. How about this as an idea:
1. on the server, create two handlers. The first one is the action you
call to start the long process off with - call it start. The second
will be a progress check - call it check.
2.
Here is some working code
http://paste.pocoo.org/show/85443/
and just to note on your code, you have:
alert(is a number)
*after* the return TestValue line... that would never ever fire
thanks.
I am a bit confused which one should I use. I think some plugin
authors should be encouraged
to go the UI way, if the advantages are clear.
Maybe the author can comment why he didn't pick UI as the base to
build the plugin
regards
jose
On Mon, Sep 15, 2008 at 9:38 PM, Richard D.
I've been writing my own event delegation handling for a long time,
but today I thought I'd look at how the delegate plugin does it. Not
very complicated, as I found out!
It doesn't do one thing that I needed today, however. It doesn't check
for matches against the whole bubble chain - just
Hi,
I've got form validation using
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
working well in Firefox 2, Safari 3.1, Opera 9.5 etc but throwing up
an error in IE6.
I can't see what's wrong, any suggestions?
http://www.edenvillamedical.co.uk/
The form in question is under
Hi. I have a calendar which lists events. After each event I have a
delete form. When someone clicks the submit, I use ajaxform to
return new html that replaces the entire day's list of events,
including a new delete form for each event. My problem is, the new
forms do not seem to be ajaxed.
Hi, and thanks for the help.
the server side code is above. It seems to be correct. I guess the JS
isn't working correct since there is no new connection as I see in the
status bar. Nothing happens when I click the link.
Thanks for the code Andreas! I am sorry but I can understand it in
detail.
ooops.
yeah, everything disappears on subsequent reloads.
As Karl said, it looks like an IE rendering bug. When you change any
of the style properties of an element inside #content, everything goes
back to normal. Add 'visibility: visible' to your anchors tags and see
what happens, adjusting
www.gamesflash.zip.net
I am using serializeArray to send a form as a JSON object to a .NET
2.0 Web Service in C#.
I am getting this error, prefix is the first field:
responseText: {Message:Invalid JSON primitive:
prefix.,StackTrace: at
Yes I already have that downloaded before it provided a non colored
map of the U.S and I just colored it in.
The problem I face is I don't want to use the image map to link to
different files. I don't want to use links.
I want to use php in a way where when the person clicks a state the
image
Hi,
I have a div id=content that serves as a placeholder for text. The
text are all like
div id=about
test test test
/div
div id=links
link link link
/div
div id=contact
[EMAIL PROTECTED]
/div
When the user clicks a link, I use it's id attribute value
(about,contact or links). I use that
When I use this function to create a JSON object:
var formObject = $(:input).serialize();
and I print it, I get name=valuename=value... This isn't proper
JSON string and the .NET webservice I'm sending it to barfs.
How can I make it stay in the proper format, i.e.
{'fname':'dave',
Is there a way to apply a class to the table cells of the sorted
column?
I want to have the sorted column to have a class=sorted on each of
it's table data cells.
after all (with big help of Joel) I managed to setup my menu.
since i wanted it the way that the background and the font color
change
when hovering the menu items i know encounter another problem for
setting
the current menu.
the current class doesnt not work. so i decided to use my own way of
ah and by popup i mean something like a modal dialogue on the page,
not another browser instance.
On Tue, Sep 16, 2008 at 3:22 PM, Jan Limpens [EMAIL PROTECTED] wrote:
hello,
on several pages I have small forms (plural) with a textbox and a
button. If I click on the button, a popup shows a
hello,
on several pages I have small forms (plural) with a textbox and a
button. If I click on the button, a popup shows a search form. The
results of the searchform are shown in the very same popup as a list
of radiobuttons/labels. If someone selects a radiobutton, it's value
should be inserted
there is no dataType 'responseXML', try using dataType : 'xml'
On Sep 16, 1:59 am, Kaherman [EMAIL PROTECTED] wrote:
hi,
my server side script returns following xml output-
?xml version=1.0 encoding=UTF-8 ?
- markers
marker lat=22.8015 lng=91.0986 Device=ET700C Index=1 /
marker
How can I make the element (div with class=request), fade out after
loading page and waiting 5 seconds, basically:
1) load the page
2) wait 5 seconds
3) fade out the element
Here's what I have:
jQuery(document).ready
(
function()
{
Is there any special thing that needs to be done to reply correctly to
an ajaxForm request expecting html back? I can get it to work with
echoing back a jason array, but nothing I do will get just a straight
text response to work. Do I need to send a success somehow, could
that be messing me up?
Has anyone else come across this? This is happening on all of my report
pages.
Thanks,
Carl
Carl Von Stetten wrote:
Hi,
I'm using jQuery 1.2.6.min.js on an intranet application. I have a
page that when loading, displays a report loading message with an
animated gif. This report loading
Oh yeah, sorry. But who writes HTML4 this days, specially using
jQuery? ;)
On Sep 16, 6:55 am, k3liutZu [EMAIL PROTECTED] wrote:
If he is using HTML then br is actually correct.
On Sep 15, 9:32 pm, ricardobeat [EMAIL PROTECTED] wrote:
Anchor elements are inline, unordered lists are block
It is possible, but is complicated.
First, google always helps: http://ajaxpatterns.org/Progress_Indicator
Is the script long in runtime or in size?
If it's in size, you have three options:
1. use a fake progress bar that runs on an estimate of download time
2. use subsequent XHR requests to
Only by adding zoom:1 in the css fixed my problem under IE7
Enjoy that small tip!
Ya I do have that and seen it before I currently do have it and have
colored it.
The problem is that the image map has links to state web pages I don't
want to have to create a web page for every state. It would take up
room and it really doesn't need.
I want something that I can just have
Hi Balazs,
Thanks for the reply - looking at your suggestion, my idea was to
apply it to the code like this:
$(function() {
$(*).hover(
function(){
// If the element has more than one child stop
propagating.
if ($(this).children().length() 0)
To those who read this:
I got my answer. I was setting up an assoc. array with [ ]... in
Javascript, this is not how it is done.
/-- CODE --/
function http(verb, url, callback, paramstr)
{
params = { };
var urlparts = url.split('?');
paramstr += '' + urlparts[1];
Just pass your array object:
$.post(/index.php,{run: url, arr : yourarray },
On Sep 16, 1:58 pm, Anthony [EMAIL PROTECTED] wrote:
This may be quite simple for many, but I am stuck trying to make a
dynamic $.post() where the request (post) variables passed are fed
from a dynamicly changing
Hi!
I'd like to expand some branches in a treeview. (It is basically a
collapsed tree, with some brances opened).
Can I do that from javascript? If I simply toggle the visibility, then
the expander icon will be screwed up.
thanks
Gergo
Impossible to help without seeing some code. I don't see any magical
jQuery gurus around.
On Sep 16, 12:01 pm, Namlet [EMAIL PROTECTED] wrote:
I have a site with several borders that are part of jQuery commands.
One has rounded corners, others don't. IE7 doesn't render ANY of
these borders.
Below is a simple jQuery.getJSON call for fetching json data
through jQuery but issue i am facing is that below code works
perfectly fine in firefox,safari but breaks in IE-7.
I have an alert in the call back function for json response which
works in firefox but in IE-7 it does not give any
You need to understand that a frame is another 'window' instance, it
doesn't have the same jQuery object as the parent window unless you
tell it to. So the '$' object you use in firebug console is always the
one from the parent window.
If i'm not mistaken you can acess frame content with the
I believe this is an error with IE7 -- try giving the div's this
style: min-height: 1%
You might also try googling IE7 hasLayout for more info
On Sep 15, 11:25 pm, JFRanger [EMAIL PROTECTED] wrote:
Hello World!
Can some one can tell me WHY the content of my div's disappear (IE
ONLY) at the
Jesus... I'll be damn!
Your are right JohnieKarr, It works great in IE6 but not in IE7... can
you believe that!
What is my option to solve my disappearing problem only under IE7?
Call Bill Gates? lol
Any IE7_css_javascript pro's out there?:
http://dev.residencia.ca/?site=projectadd
I have set up an example with ajaxForm and have it working fine with
json. However, is there something specifically on the server side
(php) I should do if I am wanting to pass html back? I can't just use
a bunch of echo lines can I? I don't get anything back when I do
that. I have to
When I use this function to create a JSON object:
var formObject = $(:input).serialize();
and I print it, I get name=valuename=value... This isn't proper
JSON string and the .NET webservice I'm sending it to barfs.
How can I make it stay in the proper format, i.e.
{'fname':'dave',
Just wondering how I can resolve the jQuery/mootools conflict on:
http://www.tccnotary.com/contractorform.php
I have tried moving around the jQuery.noConflict(); script to
different spots within the code but to no avail.
I have a slideToggle functioning just fine on my page:
http://www.viktorwithak.com/Test/nav/
But I'm trying to get it to set a cookie that remembers what is closed
and what is open. So, step one, I'm trying determine (on click) what
the state of slideToggle is. Here is my code so far...
How can I make the element (div with class=request), fade out after
loading page and waiting 5 seconds, basically:
1) load the page
2) wait 5 seconds
3) fade out the element
Here's what I have:
jQuery(document).ready
(
function()
{
Hi. I have a calendar which lists events. After each event I have a
delete form. When someone clicks the submit, I use ajaxform to
return new html that replaces the entire day's list of events,
including a new delete form for each event. My problem is, the new
forms do not seem to be
thanks so much your a star...i have much to learn... and off i go
to do it!!!
On Sep 16, 6:41 pm, MorningZ [EMAIL PROTECTED] wrote:
Here is some working code
http://paste.pocoo.org/show/85443/
and just to note on your code, you have:
alert(is a number)
*after* the return TestValue
When you sort it applies a class to the th of either headerSortUp or
HeaderSortDown I believe. You should be able to do something using the
triggers (http://tablesorter.com/docs/example-triggers.html) to determine
which headers have either of those classes, then add that class to equally
Howdy pardners,
I run a busy Facebook app. Recently I redesigned some of the UI so
that it relies on javascript and jquery. These UI components are
loaded in iframes.
Examining the logs, it's clear that about 15% of my users are unable
to use these new interfaces. I am tearing my hair out
Please, anyone?
Thank You,
Miguel
On Sep 15, 3:55 pm, shapper [EMAIL PROTECTED] wrote:
Hello,
I am using the following DatePicker
plugin:http://www.kelvinluck.com/assets/jquery/datePicker/v2/jquery.datePick...
Most CSSClasses, for example jCalendar, are built into the plugin. I
need to
Facebook doesn't support JS, but FBJS.
The DOM properties/methods are completely different and I'm not sure
you can do certain things, like creating ActiveXObject's.
I'm not sure whether jQuery can survive in such an environment, on
every supported browser, all the time (it changes every 2
here's a link to the running code. thanks in advance!
http://65.74.151.7/fb/sbfootball/entries/js_entry/801156
Hi Bradley,
Looks like that image is returning a 404.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Sep 16, 2008, at 12:43 PM, Bradley Sepos wrote:
http://bradleysepos.com/dropbox/jquery-docs-wierd.png
Notice the title, heading text and the layout
(Sorry if this is a double post.)
Hi Ariel - thanks for your response. I know about JS vs FBJS, I guess
I should have made that clear in my first message. I am doing all my
jQuery stuff in iframes, so it ought to run normally.
Ben
On Sep 16, 3:48 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
Hi Ariel - thanks for your response. In fact I knew that already
about FBJS. I should have mentioned that all of the jQuery stuff is
happening in its own iframe.
Ben
On Sep 16, 3:48 pm, Ariel Flesler [EMAIL PROTECTED] wrote:
Facebook doesn't support JS, but FBJS.
The DOM
$('*').hover( function(event){
$(this).addClass('selected');
event.stopPropagation();
},
function(event){
$(this).removeClass('selected');
event.stopPropagation();
});
On Sep 16, 10:17 am, John Boxall [EMAIL PROTECTED] wrote:
Hi Balazs,
Thanks for the reply - looking at your suggestion, my
Thanks Mike, you got me on the right path, your code needed a small
tweak:
jQuery(document).ready
(
function()
{
setTimeout
(
function()
{
One of the best sites for getting jQuery tutorials, tips and advice is
from Learning jQuery (http://www.learningjquery.com/).
The site is run by jQuery Project Team member Karl Swedberg who has
taken his experiences in development and jQuery training and broken them
down into very easy to
Thanks Ricardo.
But what if I wanted to access the parent document from WITHIN the
iframe?
On Sep 16, 12:27 pm, ricardobeat [EMAIL PROTECTED] wrote:
You need to understand that a frame is another 'window' instance, it
doesn't have the same jQuery object as the parent window unless you
tell
Can I use livequery with ajax? For instance, I am adding and deleting
elements of a certain class that have .post associated with them
at .ready.
For instance, if my last .post returns new html that create more items
with delete forms, how should I turn the code in the .ready below to
work?
Hi,
I've modified the Shadowbox plugin so that I could have mac-like navigation
with my thumbnails. I've incorporated jqDock.
Everything works as expected on the first image from the gallery. But when
the image changes for the second image in the gallery the jqDock plugin's
not working anymore.
Hi all,
I've recently grabbed the latest edition of the Rhino book and I'm
trying to build some small JavaScript libraries in order to get the
hang of coding in JS. I've been also reading lots of blog posts and
I've been looking at the code of several major JS frameworks and
libraries, like
Replace the first line
$('.deleteform').submit(function() {
with this
$('.deleteform').livequery('submit', function() {
--
Brandon Aaron
On Tue, Sep 16, 2008 at 8:30 PM, onmountain [EMAIL PROTECTED] wrote:
Can I use livequery with ajax? For instance, I am adding and deleting
elements of a
On Sep 17, 12:38 am, africanshox [EMAIL PROTECTED]
wrote:
i have a serach box that checks for a product code or product keyword.
I need to find out how i can check if the input submitted on this
search box is a number, and if it is, remove any white spaces.
If by search box you mean an
I've got an input box and am displaying a form button on focus... then
hiding the form button on blur. Ideally, I want to display the form
button on focus, but only hide the button if the original contents of
the input box have not changed (put another way... persist the form
button if the
Hi Michael,
You're doing the slideToggle() on $(this).next(), but checking the
visibility state of $(this). I imagine that the link you're clicking
is always visible. You should probably do a check for $
(this).next().is(':hidden')
--Karl
Karl Swedberg
www.englishrules.com
I'm not sure I understand exactly what you mean but I can answer the
question in the title of your thread :)
instead of using the 'blur' event use the 'change' jquery event
(analogous to onChange() traditional js)
http://docs.jquery.com/Events/change
-Alex
On Sep 16, 11:08 pm, bombaru [EMAIL
Just a bump here since I'm curious too! :)
I just kind if take things like jQuery for granted and use and abuse
them without really knowing or caring how it does what it does, so
long as it works :)
(I guess that's a textbook OOP abstraction definition lol)
Anyway, wanna know the answer too if
Hello,
I'm just wondering if there is any undocumented method (or trick),
like dialog.data(), to raise (and maybe focus) an already opened
dialog which is hidden below other dialog(s) ?
I could mimic that by destroying the dialog, creating and opening it
again but it is not very clean.
Thanks,
91 matches
Mail list logo