Would be great if someone could still help me out?
On Feb 8, 10:01 pm, MH1988 wrote:
> Sorry, just also to mention, I am integrating this within WordPress
> and I am using the jQuery framework for another gallery.
>
> On Feb 8, 9:58 pm, MH1988 wrote:
>
> > Thanks so much for the help. I'm afrai
Hey Jörn thanks for the reply, good to know! I went with James
solution which is perfect for what i'm working with. Thanks again
guys.
On Feb 9, 9:07 am, James wrote:
> Since you wanted do submit by Ajax;
>
> $("#form-external-link").validate({
> rules: {
> exlink_url: {
>
On Feb 9, 4:54 pm, Pedram wrote:
> Dear folk,
> I want to get the index of the TR and send it to the Function , I
> don't know how to it . this is what I'm trying to do
>
> $("table tr").bind("click",{IndexName:$(this).index(this)},clickFunc)
The DOM 2 HTML TR.rowIndex property should do the j
On Feb 9, 4:23 am, pantagruel wrote:
> Hi,
>
> I am selecting the row of a table. I would like to be able to count
> how many rows there are in the table before the row I just selected. i
> suppose there is a jQuery selector that will do this.
Not necessary - table rows have a rowIndex propert
yup, that's what I want, thank you very much.
On 2月9日, 下午3時27分, Geuis wrote:
> I think you're asking, how do you prevent a link from doing anything
> when the browser has javascript enabled.
>
> $('#xxx').click(function(){
> //your stuff
> return false;
>
> }
>
> On Feb 8, 11:22 pm, "David .Wu"
I think you're asking, how do you prevent a link from doing anything
when the browser has javascript enabled.
$('#xxx').click(function(){
//your stuff
return false;
}
On Feb 8, 11:22 pm, "David .Wu" wrote:
> If I got a hyperlink http://xxx.com"; id="xxx">xxx
>
> $(function() {
> $('#xxx
$("table tr").click(function() {
clickFunc($('table tr').index(this);
});
On Feb 8, 10:54 pm, Pedram wrote:
> Dear folk,
> I want to get the index of the TR and send it to the Function , I
> don't know how to it . this is what I'm trying to do
>
> $("table tr").bind("click",{IndexName:
If I got a hyperlink http://xxx.com"; id="xxx">xxx
$(function() {
$('#xxx').click(function() {
.
..//do something
});
})
I want to make the link doing something if browser opened javascript,
and if not, it go to the page it referred.
Dear folk,
I want to get the index of the TR and send it to the Function , I
don't know how to it . this is what I'm trying to do
$("table tr").bind("click",{IndexName:$(this).index(this)},clickFunc)
function clickFunc(event){
console.log(event.data.IndexName);
}
I'm working on a project where I need to detect if the browser
natively supports a given CSS selector.
For example, if I am using the selector 'ul li:first-child', this is
supported by IE7, FF, and Safari but not by IE6 and below. Is there a
way that I can test that selector to see if the current
Great, thank you very much, Aeron. Using "class" as you suggested is what
I'll do.
Aaron Gundel wrote:
>
>
> http://www.w3.org/TR/html4/struct/global.html#adef-id
>
> HTML standards state that the id attribute should be unique in an html
> document. Use "class" or somesuch. Then you can do
Since you can't show any code, with only what I see there should not
be any issues...
That is, there is no issue with using two validate functions on two
different forms, each with it's own set of rules.
You're going to have to show more code for us to get to down to the
issue.
On Feb 8, 5:54 pm
> I searched the archives, but I couldn't find an answer. For some
> reason the tabs, when initialized flashes, three times. Any idea why?
>
> http://www.chris-gwen.com/
I fixed it. I need this at the end of document.ready()
$('body').append('.ui-tabs-hide {display:none}');
How can I tell what the visibility state of an element is which has
just been toggled? Is my selector no good or is it a matter of timing?
. The situation is that I'm displaying a page of search results. I'd
like the "advanced" search features to be present at the top but I'd
prefer to hide them.
I have an odd thing happening with the Validation Plugin (latest build
on JQuery 1.3). I have several forms setup on a page, with validation
on two. My first works fine, but my second keeps giving me errors in
Firebug about 'too much recursion'. The configs for these two form
validations are nearl
I have been trying to implent an accodian that requires a click to open and
a click to close.
This is working fine here:
http://jamespfarrell.com/dev/consult3fixedheight.htm
all of the divs that contain the data are being returned as the same
height as the largest of them all...
so I added
> I just upgraded the plain page to the latest version of jquery and the form
> plugin. And I noticed that with the new version, it does not make it to the
> success callback and you'll see this when you submit the form it gets stuck
> on the "loading..." text This was likely a bug fix of some kin
jQuery n00bie here. I have the following script that is called from
the onclick event of a link:
function getUserModsAsList(obj) {
jQuery(document).ready(function() {
var userID = obj.getAttribute('userid');
jQuery.ajax( {
type: "PO
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 think I can get what I
On Feb 9, 8:30 am, Jon wrote:
> I'm having issues getting the validation plugin (http://bassistance.de/
> jquery-plugins/jquery-plugin-validation/) to work with dot net.
> Whatever i try i can't stop the form from submitting. I've tried
> several things i've found on this group and the web. Can
I've now got it working, using the syntax I used in the first
instance...
Now I need to figure out what part of the fiddling I performed fixed
my problem...
G.
On Feb 9, 1:20 am, "graham.reeds" wrote:
> I'm a newbie at jQuery so bear with me here. For the relevant stats: I
> am using FF3.0.6
In your code you're attaching the hover event to the anchor tags; in
the sample html none of the anchors has a class (the class is on the
parent li element).
On Feb 8, 4:24 pm, MiD-AwE wrote:
> Please help, I've been wrestling with this for too long now.
>
> I've put together this code to change
Please help, I've been wrestling with this for too long now.
I've put together this code to change the background of a div when the
mouse hovers over a list of divs. One of the listed divs has a class
name of ash and I want to add a background image on that one hover;
all of the other listed divs
I'm a newbie at jQuery so bear with me here. For the relevant stats: I
am using FF3.0.6, jQuery
I am attempting to recreate the Spain Map from Pragmatic Ajax. I did
it with GWT and now I am recreating it (or trying to) with jQuery. The
GWT version I did also support mouse wheel for zooming.
How
Sorry Tim, I didn't understand it that way.
You should still be able to do this fairly simply.
You don't have to specify the url, you can pass it as a variable.
But you would need to put your $.ajax function into another function,
and call it when clicked. You can also build the data variables
*Tab+spacebar and it posts :P
You could put your list of functions in an array in your external js,
then call them on the window object in a loop:
$(function() {
var funcs = [
'ManageCategoriesClick',
'HideByDefault',
'PrepareSplitForm',
'SetUpAdvertPopup',
You could also just keep the list of functions in an array in your
external js file and then check the window object for them:
$(function() {
var funcs = [
'ManageCategoriesClick',
'HideByDefault',
'PrepareSplitForm',
'SetUpAdvertPopup',
'CheckAll',
On Sunday 08 February 2009, pedalpete wrote:
> I believe the code you are looking for would be something like this
Hi pedalpete:
Thanks you for the quick response.
> [code]
> $('form').submit(function(){
> var cell1 = $('#cell1').html();
> var div1= $('#div1").html();
> var span1=$('#span1").html(
Since you wanted do submit by Ajax;
$("#form-external-link").validate({
rules: {
exlink_url: {
required: true,
url: true
}
},
submitHandler: function(form) {
$.ajax(...);
}
});
I believe the code you are looking for would be something like this
[code]
$('form').submit(function(){
var cell1 = $('#cell1').html();
var div1= $('#div1").html();
var span1=$('#span1").html();
$.ajax({
type: "GET",
url : 'urlToGet.php',
data: 'cell1='+cell1+'&div1='+d
Mike, thank you so much for your patience with me on this one.
I've created a simplified version of this page taking out all of the css and
unnecessary javascript. all that is there is jquery, form plugin, and the
few functions used for the page:
http://www.paperdemon.com/tests/comments_plain.php
Do you have an internet facing page set up to view this?
On Sun, Feb 8, 2009 at 2:30 PM, Jon wrote:
>
> I'm having issues getting the validation plugin (http://bassistance.de/
> jquery-plugins/jquery-plugin-validation/) to work with dot net.
> Whatever i try i can't stop the form from submitting
After you add the element to the page, just call .droppable() on it.
$('new user
group').appendTo('#container_usergroups').css('display',
'none').fadeIn('slow').droppable(options);
- Richard
On Sat, Feb 7, 2009 at 12:20 PM, Chris wrote:
>
> Hi,
>
> I am relatively new to developing application
For some time I've been using a little ajax library called AjaxRequest.
Because I'm working with code generation tools, I'd like to make a
first - step switch to jQuery as simple as possible.
A sample AjaxRequest function follows:
function CheckForm0(theform) {
AjaxRequest.submit(
I'm having issues getting the validation plugin (http://bassistance.de/
jquery-plugins/jquery-plugin-validation/) to work with dot net.
Whatever i try i can't stop the form from submitting. I've tried
several things i've found on this group and the web. Can anyone help
me getting this to work?
He
Oops. Sorry, I didn't see Ricardo's reply before posting. In any case,
there's no need to filter the .prevAll() with 'tr', since no other
element is allowed as a sibling of a tr.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 8, 2009, at 6:06 PM, Kar
You could use prevAll()
$('#myrow').prevAll().length;
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 8, 2009, at 2:30 PM, James wrote:
I did a search but I could only find a selector that selected "after"
something:
http://docs.jquery.com/Selectors/s
I've got a ajax request that grabs a json response.
In order to be able to sort and get data from the response, I put the
response into a few objects using
[code]
function(jsondata){
var dates={};
var ids={};
$.each(jsondata.entry, function(){
i
Check this example for using remote data with JSON:
http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/json.html
Jörn
On Sun, Feb 8, 2009 at 11:53 PM, arnoldroa wrote:
>
> Hi, i need to send a json object to the autocompleter. i see this
> example on the demo:
>
>$("#thickboxEma
Hi, i need to send a json object to the autocompleter. i see this
example on the demo:
$("#thickboxEmail").autocomplete(emails, {
minChars: 0,
width: 310,
matchContains: true,
highlightItem: false,
formatItem:
http://www.w3.org/TR/html4/struct/global.html#adef-id
HTML standards state that the id attribute should be unique in an html
document. Use "class" or somesuch. Then you can do something
like $(".trContactInfo").hide() and it will hide everything.
A. Gundel
On Sun, Feb 8, 2009 at 1:30 PM,
Hmm. So a min check is not available since it requires a value, but
url is because it does. I guess that makes sense. But is that actually
documented though?
On Feb 8, 4:17 pm, Jörn Zaefferer
wrote:
> All documented methods are supported that way, with the exception of
> methods that require a p
This is probably a bug that occurs only in combination of error
containers and the remote methods. I'll look into it.
Jörn
On Sun, Feb 8, 2009 at 6:07 PM, Kris wrote:
>
> Another figure out the solution for this? I am having a similar
> problem.
>
> Thanks guys,
> Kris
>
> On Dec 15 2008, 4:17
All documented methods are supported that way, with the exception of
methods that require a parameter.
Available methods are documented here:
http://docs.jquery.com/Plugins/Validation#List_of_built-in_Validation_methods
Jörn
On Sun, Feb 8, 2009 at 7:38 PM, Raymond Camden wrote:
>
> I may be mi
you should be looking at http://docs.jquery.com/Traversing
var currentRow = $('table tr').eq(7);
var howManyBefore = currentRow.prevAll('tr').length;
cheers,
- ricardo
On Feb 8, 3:23 pm, pantagruel wrote:
> Hi,
>
> I am selecting the row of a table. I would like to be able to count
> how many
Try this:
$("#form-external-link").validate({
rules: {
exlink_url: {
required: true,
url: true
}
},
submitHandler: function(form) {
alert('This will pop up only once as it should');
Hi,
If I have an html table with 3 rows each with the same id, for example,
id="trContactInfo", as in the html code below. Using jQuery, if I want to
hide these 3 rows with the same id, i would do something like
$("tr#trContactInfo").hide().next().hide().next().hide. My question is:
Instead of r
Hello.
I've got an annoying problem with flash widget embeds always
being on top of absolute positioned divs.
The problem comes that one widget is an iframe, and within
that iframe is the flash without wmode set.
I can't seem to access the flash properties with jquery,
I think due to cross doma
Hello Peoples.
I have been working on an interface using the jquery plugin ScrollTo.
I have large left and right buttons which scroll the page content left
and right.
10 items are displayed at a time, when the visitor is on item 10 the
left and right buttons load the page with next or previous t
How would set this up with list items and pulling from a external html
file? I am new to using this library.
On Feb 6, 8:28 pm, nate laws wrote:
> I just tried this plugin for the first time today. The think to
> realize is that it does not directly have anything to do with which
> items and
I am trying to make chained select. I have three selects: type,
category, product. I created ajax response conected to change of type
or category. When I change type select (list types is static, taking
from base by php), ajax give mi the list of category. It works. But
after this, when I want to
Hi James! Thanks for the quick reply. I'm still confused as to where I
should place my $(form).submit(..). so i'm not re-attaching additional
submit events?
What i'm doing basically is: 1. have Validate pass the form 2. submit
the form via ajax
The only thing is that the form is always being reus
What does "working correctly" (or "not working") mean?
I'm using FF 3.0.6 and it seems to be functioning correctly. I click
on the boxes on the left (test tools, graphing, etc.) and the tabs box
changes. I click on the tabs in that box and it seems to be switching
tabs as expected.
On Feb 7, 11:4
I did a search but I could only find a selector that selected "after"
something:
http://docs.jquery.com/Selectors/siblings#prevsiblings
can help.
Maybe you can get the total rows count, subtract from the count from
prev ~ siblings (and probably subtract 1 also).
I hope that helps somewhat.
On Fe
Oops, I misread. You wanted the count "before" the one you selected.
Please disregard my response!
On Feb 8, 9:22 am, James wrote:
> Assuming "row" means the number of ,
> and your tables looks like:
>
> data
> data
> data
> data
> data
>
>
> you can do something like
Assuming "row" means the number of ,
and your tables looks like:
data
data
data
data
data
you can do something like:
var count = $("table tr").length;
http://docs.jquery.com/Core/length
On Feb 8, 8:23 am, pantagruel wrote:
> Hi,
>
> I am selecting the row of a table
Rick, based on what I've learned from testing, you have another option
now...
Here is a modified version of Mike's code - without generating the
table.
function populateDutyTable(response) {
var currentDay = '';
var rows = response.QGETDUTYSCHEDULE.DATA;
var out = []
Hmm.. code didn't display properly.
I wanted to say, every time you're doing
$(form).submit(...)
you're re-attaching an additional submit...
On Feb 8, 9:13 am, James wrote:
> Every time you're doing:
>
> you're re-attaching an additional submit event to the form, so it's
> executing it multipl
Every time you're doing:
you're re-attaching an additional submit event to the form, so it's
executing it multiple times every time you submit.
What is it you're trying to do? When you define submitHandler for
validate, you should be doing whatever you're doing in $(form).submit
() inside the sub
Nothing guys? Still couldn't figure it out on my own. Everything
appreciated.
On Feb 7, 6:20 pm, Chris wrote:
> Hi,
>
> I am relatively new to developing applications with both javascript
> and the jquery framework. What I can't figure out is what to do if I
> dynamically insert something on my
I identified why the $("").append syntax is so extremely slow
in the sample page. It actually has nothing to do with being a 'second
DOM append' as was assumed. Here is what I learned from my testing...
This is the HTML mark-up for the tests:
I generated the same 'html' var
I may be missing something obvious. The docs for Validation (http://
docs.jquery.com/Plugins/Validation) are very clear on the JavaScript
API. But I'm trying to find documentation on what is supported in
metadata. The example uses:
Which tells me that this field is required and must be a valid
Hi there
I am in the same position.
I see you suggested a different script all together, from bassistance.de,
instead of the original one from
cssglobe.com/post/1695/easiest-tooltip-and-image-preview-using-jquery .
The one you suggested is much more than i need. Was anyone able to modify
the or
All,
I'm using the pager plugin (http://rikrikrik.com/jquery/pager/) to
work through a mysql result set that is broken up into divs. I'd
like to preserve back button functionality when using this plugin.
I've seen the history plugin (http://plugins.jquery.com/project/
history) which looks prom
Hi,
i'm newbie to jQuery however i watched those videos on internet and it seems
that jQuery is a very powerful library now.
i have a grid/table that i would like to create using jQuery, it would be a
wonderful try from my side. I know that some tables and grids plug-ins
already exist but i want t
Hi,
I am selecting the row of a table. I would like to be able to count
how many rows there are in the table before the row I just selected. i
suppose there is a jQuery selector that will do this.
Thanks
I think so, but it's the requirement, so maybe there is another way to
achieve it, I still figure on it.
On 2月7日, 下午3時23分, jQuery Lover wrote:
> Removing image reflection might improve performance...
>
>
> Read jQuery HowTo Resource - http://jquery-howto.blogspot.com
>
> On Sat, Feb 7, 20
Hi!
I've found a way to work workaround it. I've moved that style at unblockui
callback.
Thanks.
Rodolfo.
2009/2/7 Mike Alsup
>
> > I'm having problems with BlockUI plugin. For some reason it applies
> > style="poistion: relative;" to parent div and this mess up with my
> > contextMenu plugin.
Another figure out the solution for this? I am having a similar
problem.
Thanks guys,
Kris
On Dec 15 2008, 4:17 am, Jet wrote:
> Hi,
>
> Sounds like we are having the same problem.
>
> I have posted about the problem in this thread.
>
> http://groups.google.com/group/jquery-en/browse_thread/thr
I'm having a problem with validating first then submitting a form with
jQuery after success. It works however it seems like my submit()
function keeps sending multiple submits and keeps growing each time i
reuse the form (i made sure the values are reset after each submit).
I'm not sure if its my
Maybe it's just a typo, but you're creating a div with the ID
"toolbar_button_target"
...prepend("...
and then calling it with a class selector:
$(".toolbar_button_target")
is that right?
On Feb 7, 5:38 pm, James S wrote:
> Dear jQuery,
>
> Can find plenty of discussion on the use of liveq
Could somebody tell me how this is managing to go wrong?
Site is at antoniocaniparoli.co.uk/wip
I am trying to animate movement between # locations on the page — the
#s being references to images in a gallery. Each image has a little
caption at the bottom giving its position in the list and offe
Ok, Now I am having trouble using php with css. I made a php file with
the header content text/css and the css works kinda.. the render is
not proper.
the htmlcheck button is supposed to display at the footer and it is
being displayed in the top left corner of the screen.
On Feb 6, 3:15 am, jQ
did you go to the home button??? and type username TEST all caps for
both the user name and password?
in the account I use jquery for the javascript. when you look at the
page in IE7 and IE6 you will see the menu and other stuff all
positioned in weird places and the menu is shown in a random p
I can see why it is working the way it does, but it seems like a clear
and easily fixable bug to me. $.extend() could be made aware of the
intrinsic JavaScript objects so that they are copied (i.e. recreated)
properly.
On Feb 5, 3:11 pm, Stephan Veigl wrote:
> Hi,
>
> this is because jQuery cr
Hi Miguel,
you could use a global counter.
e.g.
var themesCounter = 0;
$('#AddTheme').bind('click', function(){
...
$theme.append('');
...
themesCounter++;
});
by(e)
Stephan
2009/2/8 shapper :
>
> Hi,
>
> I am adding list items to a list as fo
Ok actually i narrowed it down to a cookie because when i alert the
cookie it returns null.
So that leads me to believe that the cookies arent working proper in
ie6? here is my code that sets the cookie
http://pastebin.com/m2390bf8e
Does anyone see anything wrong wtih that?
Thanks allot
Hi Everyone,
does anyone know if ie6 has limitations with cookies or the jquery css?
I have this code which works great in ie7 and firefox. It detects if the
maiLNav cookie is set and displays accordingly.
In ie6 it seems to ignore the check.
http://pastebin.com/m6c227f24
Hi Ami
you can access an iframe with:
var frame = window.frames[0].document;
-or-
var frame = $("#iframe")[0].contentDocument;
var div = $("div", frame);
just remember to wait until the iframe has been loaded.
by(e)
Stephan
2009/2/8 Ami :
>
> Can I use jQuery to work with elements in
Hi,
I am adding list items to a list as follows:
$('#AddTheme').bind('click', function(){
// Other code
$theme = $('').appendTo
('#Themes');
$theme.append('');
$theme.append('');
$theme.append('');
});
Basically, every time I add
Can I use jQuery to work with elements in other frames?
For Example:
$("#frame1 document")
OR
$(document, $("#frame1"))
Thanks for the ideas everyone!
@Stephan: Yes, it's in an external JS file. I'd prefer to not have to
do any inline javascript. I've considered it, but thanks for the
suggestion!
@Ricardo: Thanks for those. I may end up doing a variation of them.
On Feb 8, 4:50 am, Stephan Veigl wrote:
> Hi
>
>
Hi all,
I am writing a greasemonkey user script which uses jquery for most
things it does.
the user script is supposed to work on a page with lots of elements i
want to discard so that focusing on the main content is easier. this
part is easy, i just select the div containing what i want and store
hi
i used superfish menu on my project i got problem with IE6. that menu
appears backside of my sliding image. how can i solve this problem if
any one can help me? please help me as soon as possible.
u can check problem on my site
http://ihricon.org.np
Hi..
Quick question about drag-n-drop with jQuery UI.
For my CMS, I have a admin tree of items of various types, that i want
to enable drag-n-drop between.
I aim to emulate windows explorer in most aspects of operations, with
some improvements ofcourse.
I had already found a drag-n-drop lib
Sorry, just also to mention, I am integrating this within WordPress
and I am using the jQuery framework for another gallery.
On Feb 8, 9:58 pm, MH1988 wrote:
> Thanks so much for the help. I'm afraid it still isn't working
> correctly. I tried [0] which to me means it initiates the very first
>
Thanks so much for the help. I'm afraid it still isn't working
correctly. I tried [0] which to me means it initiates the very first
image as soon as it preloads. For more details of how I am using this,
I am actually using the Prototype script framework which makes this
image gallery work.
Is $
Hi
I guess you have your $().ready() function in an external js file,
otherwise you could
customize it for the according html page.
Another construct similar to Ricardos one, but a bit more flexible:
Use a global variable in every html file to specify the init functions
you want to call for thi
Hi,
I am trying to validate an optional field but it is validated every
time either it is included or not on the form.Please help me that how
can i validate optional fields using jQuery validator.
Regards,
Himanshu Singh
On Jan 26, 3:18 pm, Jörn Zaefferer
wrote:
> Try this workaround - updatev
In firefox, to see the changed html markup click on the page and do
ctrl-A to select all and then right click and "View Selection
Source". This also work if you just highlight the element you want to
see the source of.
On Feb 7, 10:05 pm, brian wrote:
> On Sun, Feb 8, 2009 at 12:37 AM, gberz3
Also, instead of saying
var imgs0Slideshow = new Array();
imgs0Slideshow[0] = new Object();
It's easier to just say
var imgs0Slideshow = [];
imgs0Slideshow[0] = {};
and that achieves the exact same thing.
On Feb 8, 1:10 am, seasoup wrote:
> $("imgDisplay0_title").innerHTML = title;
> $("imgD
$("imgDisplay0_title").innerHTML = title;
$("imgDisplay0_caption").innerHTML = caption;
$("imgDisplay0_number").innerHTML = "1 of " + imgs0Slideshow.length +
" Articles";
should be
$("imgDisplay0_title").html(title);
$("imgDisplay0_caption").html(caption);
$("imgDisplay0_number").html('1 of ' +
92 matches
Mail list logo