I am using the jQuery Validator plugin with ASMX Web services. I would
like not to have to use HTTP GET (for security reasons). I can
successfully use POST when directly using $.ajax, but when it comes to
the Validator plugin, I'm having a difficult time setting the
remote.data property in the
Weird, the 'validate' didn't show in my subject, maybe it will now.
Well, I figured out a solution, and it works pretty well :D
var email_ajax_data;
$.validator.addClassRules({
email: {
required: true,
email: true,
Thomas Creutz schrieb:
Main store schrieb:
You'll see the bottom of my page is too long.
I have tried to modify the CSS with some Height measurements but
nothing happen..
hi.. just remove the height from the body definition ;-)
oh.. Nathan is right.. the clear:both in .footer .legality is
Hi!
I have i simple function like this:
script type='text/javascript' language='javascript'
function a()
{
$('#a').html(text);
}
/script
So, when i use that, it set the whole div a as text, how can i only
INCREMENT the text string to the div?
Got it, used append instead of html.
Thanks.
On 10 abr, 04:23, Po01 diogoapa...@gmail.com wrote:
Hi!
I have i simple function like this:
script type='text/javascript' language='javascript'
function a()
{
$('#a').html(text);}
/script
So, when i use that, it set the whole div a as
I've added an examples page demonstrating some of the current features
of jqPlot. It is here:
http://www.hacknack.com/jqplot/examples.html
Note, it doesn't demonstrate how to create a plugin for jqPlot. I'll
get to that too.
On Apr 8, 10:32 pm, Ralph Whitbeck ralph.whitb...@gmail.com wrote:
this._input.bind('change', $.hitch(this, _onInputChange));
How do you unbind the ‘hitched’ method?
On Apr 8, 11:04 pm, pete higgins phigg...@gmail.com wrote:
My hitch() method does this kind of:
http://higginsforpresident.net/js/jq.hitch.js
It would look like:
this._input.bind('change',
Nobody here to reply?
Hello,
as the issues addressed in my first posting are mostly solved I do
this new post - maybe someone can help me with that.
I use jCarousel with jQuery to pull images from flickr and everything
works so far except for the initial state in firefox. It only requests
one image at the beginning
Thanks a lot Karl. I'll give this a try. In the meantime I found a
workaround by just setting display:none in the stylesheet for the
local data divs. Thanks for a great plugin!
Cheers,
Ian
On Apr 9, 7:21 pm, Karl Swedberg k...@englishrules.com wrote:
Hi there Ian,
So sorry about that
Thanks for your reply but no luck...
That does bring up two sets of navs that work but they are both with
the first #portfolio div as i mentioned in my fist post (situation 2)
They work fine but in the wrong place.
www.receiptwiz.com/browse
For some reason, it should be adding panes to the view every time you
hit the search button. If you check the jQuery, it logically says to
hide all preceding panes, but for some reason it's hiding the most
recent one as well!
Any and all help would be greatly
Hi everyone,
I'm working on an implementation of the Cycle plugin and would like to
use thumbnails for the paging. The tricky part is that my images are
pulled from a php file, so I'm unsure of how to get the thumbnail
images to load since the source images aren't loaded into the DOM all
at
Ok so i've solved it by changing all the tags and adding new scripts
for each one
http://www.lukeskinnerdesigns.co.uk/jq-test.html
It looks good but i'm concerned that i'm gonna have a huge amount of
css and javascript with all the different slideshows.
So is there a better way to do it?
I'm not sure what all is involved/required for calling .unbind() to be
honest. Wouldn't it just be this._input.unbind('change') ?
or are there additional parameters required? If it needs a fn
reference, that's what hitch() returns ...
var cb = $.hitch(this, _change);
this._input.bind('change',
Hi,
When using the $.ajax functionality i came across some things.
You have to set the dataType option in order to get the correct data
at success(). Now I have an ajax request that can return some html or
json. Both use the correct content-type header.
Now I see in the httpData function of
Hi, i'm using jquery treeview menu in my website, but when i open a
page from the menu, for a while, it expands completely and it alignes
to the left side. can u help me? thank you
Hello guys,
I am working on jQuery SL plugin:
http://code.google.com/p/jquery-sl/
Which helps with embedding Silverlight files into web pages and also
simplifies interoperability between Silverlight objects and
JavaScript.
I need your feedback and ideas how to make it better and which
HI, i have a problem whit my Jquery transaction , this is not cross
domain, and i use $.ajax,
in my local computer is ok, but in the web server return this error.
i think the trow verified in this point
// Open the socket
// Passing null username, generates a login popup
We're using the serialScroll method and using some of the options.
Only the option start has no effect.
We want to scroll at the start to element 2 and not to the default
position 0
Suggestions?
$('#technical').serialScroll({
target:'#technical-sections',
Hi!
I've made my own autocomplete plugin that serves my needs. The plugin
stores the data that the user has selected. Since the user can select
multiple things the input value is not suffient.
I wanted to know if it's possible to define a new method, outside of
the plugin, that can obtain data
Hi, i'm using jquery treeview (
http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
) menu in my website and i have a little problem: when i open a page
from the menu tree, menu expands completely and items alignes to the
left side for a while, the time that page is charghing. I don't
Hi there,
I'm working on a small personal website and have a vision of how it
should look. My problem is that although I know html, I simply dont
have time to study and learn Adobe Flash or jQuery.
Is is possible to get a jQuery plugin custom designed to provide the
functionality that I want?
Hi,
I am playing with jcarousel and trying to show text below my images.
Like for example the reference nr or name of the image.
I am showing images of properties from my database and allow the user
to scroll through the properties. If they like one, they can click on
it and it will then show a
I'm getting the error 'parentNode' is null or not an object when
using BlockUI (Latest version and latest Jquery). I'm also using
Microsoft AJAX.NET. I'm blocking on an element. The problem occurs on
the second time I call block. This is the line of code:
$(.grid).block({message:$(#prg)});
The
Hi everyone,
I'm getting in trouble with Jquery selectors.
I explain my problem :
I have a select box from a form like this :
select
option opt1/option
option opt2/option
option opt3/option
/select
And i want to produce an effect on it when I the mouse hover.
I'm using the qtip
You can't return anything rom $().each, and object literals are not
scope blocks, that won't work, it would have to be something like
this:
$(function() {
//serialize() creates a query string from the form elements
provided
var reqData = $('.litqty').serialize();
Ok so i've solved it by changing all the tags and adding new scripts
for each one
http://www.lukeskinnerdesigns.co.uk/jq-test.html
It looks good but i'm concerned that i'm gonna have a huge amount of
css and javascript with all the different slideshows.
So is there a better way to do it?
I did search internet for a solution - I did not find anything that I
implemented.
I did put this code in thickbox.js , but it ignored it:
TB_WIDTH = 750;
TB_HEIGHT = 750;
On Apr 9, 8:35 pm, Vincent Nguyen kureik...@gmail.com wrote:
Hi jwizard,
i
Hi
Thanks so much for that it works perfectly... except...
If I add a text filled div to be included in the cycle like this:
div class=pics
img src=images/001.jpg /
img src=images/002.jpg /
img src=images/003.jpg /
div class=last
text text text
/div
/div
...
I blogged recently about making an object-oriented jQuery plugin. It
basically allows you to access your plugin as an object and call methods on
it like any regular javascript object.
http://www.virgentech.com/blog/view/id/9
I hope it helps :)
-Hector
On Fri, Apr 10, 2009 at 3:07 AM, poppiez
Hi, JB...
I never did get back to your question about transferring variables
between functions, but took up this question in another thread.
Here's what I posted in answer to another poster's question:
Also, since I've having the same problem with too much jQuery/AJAX/HTML
going into a single
All three problems solved.
On Apr 9, 6:52 pm, dotcomtim dotcom...@hotmail.com wrote:
Solved 1 and 2 just not the third. Anyway to detected duplicates only?
Everything I found on the net only removes duplicates.
$.validator.addMethod('keywords', function(value, element) {
var valid =
This (untested) is how I envision the code for that:
$.fn.dragCheck = function(){
//this == the current jQuery element
return this.each(function(){
//this == current element in the loop (table etc)
$(this).bind('mousedown', function(e){
//don't do anything if you didn't
Hi, Eric...
Can you give me an actual working example of how you include
you're using $getScript to include jQ/js files dyanamically
as you need them?
I need to get some system of code management working that just
including it all the in the page at once. I think if I can get
code into various
Hi Ricardo,
Thanks! Will this serialize everything about the element with class of
litqty? I will give it a shot.
I'm sorry for not explaining to others in detail about what I need.
Here it is:
Each piece of literature that gets selected returns an ID telling us
where to pull it from (documents
Thank you for confirming this!
-j
Since the tablsorter rewrites the order of the tr tags on the DOM,
then it makes total sense that .each will return the rows in the
order the appear on the screen
If you need to have this work in Internet Explorer, you're going to be
very frustrated. The onmouseover event doesn't apply to option
elements in IE.
See http://msdn.microsoft.com/en-us/library/ms536949(VS.85).aspx
(scroll down to Applies To section)
Same goes for onmouseenter:
Hi,
Is there a way to avoid loading jquery multiple times? I have some
javascript code which needs to use jquery and at the same time. This
script is embeded in others' web site.
One way I could do is to check and then decide whether to load jquery:
if (typeof jQuery != 'undefined') {
// do
I'm working on a multiselect plugin that uses only live events, and
the way it works is the select element gets replaced by an input and
div element. I would like to supply a callback function where the
callback is tied to the input element. Is using the data method to
store the callback the
On Apr 10, 1:11 pm, Skinnyl l...@lefthandedmonkey.co.uk wrote:
Hi
Thanks so much for that it works perfectly... except...
If I add a text filled div to be included in the cycle like this:
div class=pics
img src=images/001.jpg /
img src=images/002.jpg /
img
Just curious.. What is the difference between mouseover.dc and
mouseover?
On Apr 10, 1:44 pm, Ricardo ricardob...@gmail.com wrote:
This (untested) is how I envision the code for that:
$.fn.dragCheck = function(){
//this == the current jQuery element
return this.each(function(){
You can check the version with $().jquery. You can remove all
instances of jquery from the current page using something like this:
if(jQuery) $('script[src^=jquery]').remove();
There is also the noConflict method which might help.
On Apr 10, 1:44 pm, ihomest...@gmail.com ihomest...@gmail.com
Why not just surround it in:
if (node){
..code that uses a non-null node
}
On Apr 10, 3:59 am, mikemad madd...@gmail.com wrote:
I'm getting the error 'parentNode' is null or not an object when
using BlockUI (Latest version and latest Jquery). I'm also using
Microsoft AJAX.NET. I'm blocking
Can you post an example? I'm not sure I understand your question.
On Apr 10, 5:23 am, Titti prima...@gmail.com wrote:
Hi, i'm using jquery treeview
(http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
) menu in my website and i have a little problem: when i open a page
from the
Is there a way to limit the number of divs that can be placed inside
my droppable div? I haven't found it on the docs.
I'm sure its simple, I just cannot find an answer.
Thanks!
Hi. I'm relatively new to JQGrid, and I'm trying to create my first
grid that is loaded based on what the user chooses in a select box.
I've gotten it working for the first option that they choose.
However, after the grid is populated, I cannot get the data to change
by selecting a different
If you want it directly below the image the easiest thing to do would
be to position it absolutely to this position when you hover over the
image. Something like this might work:
div = $(div style='display:none'blah/div)
jcarousel.find(img)
.hover(
function(){
Thank you for taking the time to respond to my question
I am not vary good at Javascript and I am learning as I am going
along. I do most of my stuff with ASP.
Could you be so kind to tell me where I would place this code in the
code that I supplied ?
I managed to get this working by
Me again
I tried your code here like this. but it does not seem to work. Any
pointers ???
script type=text/javascript
function mycarousel_itemLoadCallback(carousel, state)
{
for (var i = carousel.first; i = carousel.last; i++) {
if (carousel.has(i)) {
continue;
I feel your pain... The project I am working on could have went faster
had I not used AJAX so much, But the only way to get better at it is
to use it more and more. Then you have to deal with the browser
support issues, but that.s another topic.I should have used Adobe
Flex!
Looking at your code
Koistya `Navin schrieb:
I am working on jQuery SL plugin:
Which helps with embedding Silverlight files into web pages and also
my 2 cent:
sorry, but who is using Silverlight? It is limited to Windows, and so it
cuts down more than 10 % of our visitors. Its again a good thing from M$
to get a
Look interesting! When you say that you can't communicate
between two functions...are you talking about sharing
variables? If so, then how do you currently get around
send one variable and its value from one function to another?
Thanks,
Rick
-Original Message-
From:
Hi everyone.
I asked awhile ago about fading content in and out, now I am wondering
how to fade images in and out. The images will be in the background of
the page (css: background-image) so I am not quite sure how I could
integrate this. Any help would be appreciated!
I should also add that the image has to change every few seconds once
the page has loaded.
On Apr 10, 3:14 pm, PF piercefree...@gmail.com wrote:
Hi everyone.
I asked awhile ago about fading content in and out, now I am wondering
how to fade images in and out. The images will be in the
It's the transferring variables between functions in separate js files
is the big problem. If the functions are in the same file it's no
problem.
On Apr 10, 5:02 pm, Rick Faircloth r...@whitestonemedia.com wrote:
Look interesting! When you say that you can't communicate
between two
I posted on this and submitted on the ticket tracker to do this but it
seems to have been denied (it was abandoned).
There was a suggestion made to use the dataFilter but that misses the
point since the xhr header doesn't get included as a parameter.
To work around this I have a little patch I
Well, is it a good suggestion?
Or maybe it's possible to override (or extends) tjhe current ajax
implementation?
On 10 apr, 16:45, Snef sne...@gmail.com wrote:
Hi,
When using the $.ajax functionality i came across some things.
You have to set the dataType option in order to get the correct
Exactly what I also want! :)
Think it needs minor update for 1.3.2 (different way of eval with json
i think)
Thanx!
PS. Strange this was not included in jQuery itself.
Mike Nichols schreef:
I posted on this and submitted on the ticket tracker to do this but it
seems to have been denied
great glad it helped. I'll look at 1.3.2 to modify
On Apr 10, 4:01 pm, Snef sne...@gmail.com wrote:
Exactly what I also want! :)
Think it needs minor update for 1.3.2 (different way of eval with json
i think)
Thanx!
PS. Strange this was not included in jQuery itself.
Mike Nichols
Doesn't that mean #prg is missing from the document then? That sounds
like a logic error in your code.
Ok first of all thanks for taking interest!
Then, I've tried going through your code and applying it, and I have a
few questions:
-- Besides the mouseover.dc that I didn't get either...
-- I'm supposing that $boxes would be a variable where all the
checkboxes that are applicable have been stored
'mouseover.dc' is just a namespaced event. It allows you to unbind
only that specific mouseover later by calling $boxes.unbind
('mouseover.dc'). It's a useful way of keeping track of events.
On Apr 10, 4:17 pm, Lwangaman donjohn.f...@gmail.com wrote:
Ok first of all thanks for taking interest!
I finally figured out how to do this: I set this.data to my json
string inside the function assigned to the $.ajax beforeSend property.
I then added a function for the $.ajax dataFilter property to convert
the json response to an object (using jQuery JSON at
http://code.google.com/p/jquery-json/)
You can put it at the very bottom and wrap it with script tags, or
you could put it in the head in script tags like this:
head
script
$(function(){
..onload code goes here..
});
/script
/head
Also $(document.body).appendChild(div); can go after the div is
declared instead. I would suggest you
So if you have multiple mouseover events binded to the same DOM
element you may selectively unbind them?
On Apr 10, 7:26 pm, Jonathan jdd...@gmail.com wrote:
'mouseover.dc' is just a namespaced event. It allows you to unbind
only that specific mouseover later by calling $boxes.unbind
Yep. Neat eh.
On Apr 10, 4:54 pm, jay jay.ab...@gmail.com wrote:
So if you have multiple mouseover events binded to the same DOM
element you may selectively unbind them?
On Apr 10, 7:26 pm, Jonathan jdd...@gmail.com wrote:
'mouseover.dc' is just a namespaced event. It allows you to unbind
Is there any way you can elaborate what you are looking for? I might have a
free library I've already made or there might be a free project I can help
you embed that won't cost you as much as going the old-route of heavy custom
programming.
-Original Message-
From:
Yeah, lack of communication between functions would be a problem.
Have you tried global variables as a solution?
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of JBeckton
Sent: Friday, April 10, 2009 6:26 PM
To: jQuery (English)
Hi all.
This might be more of a javascript problem rather than a jquery
problem,
but I'm also wondering if there is a 'jquery way' of solving it.
Given this code:
DIV id=div_one/DIV
DIV id=div_two/DIV
DIV id=div_three/DIV
DIV id=div_four/DIV
Lets say that the user is invited to click one one
On Fri, Apr 10, 2009 at 5:46 PM, thought thou...@orcon.net.nz wrote:
Given this code:
DIV id=div_one/DIV
DIV id=div_two/DIV
DIV id=div_three/DIV
DIV id=div_four/DIV
Lets say that the user is invited to click one one of these divs.
How do I get the id of the div that was clicked ?
$('div').click(function(){
alert(this.id);
});
On Apr 10, 8:46 pm, thought thou...@orcon.net.nz wrote:
Hi all.
This might be more of a javascript problem rather than a jquery
problem,
but I'm also wondering if there is a 'jquery way' of solving it.
Given this code:
DIV id=div_one/DIV
script type=text/javascript
$(document).ready(function() {
$(div[id^='div_']).click(function() {
alert(this.id);
});
});
/script
Better not to use JQuery for such trivial things as getting the ID attribute
since it's already apart of the
Thanks for the swift replies.
I've got a lot to learn about javascript, and at this point, adapting
charlies code, I get a strange effect that I didn't anticipate, and
don't understand.
$('.thumbnail').live(click, function(){
$(div[id^='thumbnail']).click(function() {
A live handler is different from a normal handler, and I'm not sure
why you're putting a normal handler inside of a live handler. A live
handler works by looking at the target of whatever is clicked and
comparing it to the selector, in this case, the thumbnail class. I
personally prefer to use
This is interesting not sure I would create an entire document with it
but would be fun for certain areas of code.
Personally I try not to create too much of my DOM on the fly with js
as it has it's own set of challenges with accessibility, automated QA
tools and such..
hsjn does make me wonder
So then this behaviour is working because I'm using a live handler?
In this case I am indeed using a live handler because elements of
the thumbnail class don't exist when the document is initially
created,
but are conditionally added at a later point.
I'm reasonably sure that this is an
I think the approach you want is just:
$(div[id^='thumbnail']).live(function() {
alert( $(this).attr('id') );
});
On Apr 10, 4:00 pm, thought thou...@orcon.net.nz wrote:
So then this behaviour is working because I'm using a live handler?
In this case I am
It would be fairly trivial to roll your own drag-drop plugin, and this
way you can have better control of the characteristics. For general
info on how drag-drop works in javascript (in the event that you don't
already know) I have found this web page invaluable (it is the first
link that pops up
The problem is that you've got a handler inside of a handler. You want
either of these:
$('.thumbnail').live(click, function(){
alert( $(this).attr('id') );
});
$('.thumbnail').click(function() {
alert( $(this).attr('id') );
});
Whether you use $('.thumbnail') or
Thanks Jay,
I have put a function Load() in the head and called it in body onload.
and then add the two lines in Javascript just below the Div is
declared but it seems to have a javascript error and no Bla is
displayed.
I tried to change a few things but no luck.
This is what I have done.
There's no need for body onload= when using jquery. As long as the
library is included, you need only do:
$(function()
{
whatever();
});
Here, the whatever() function will run as soon as the DOM is loaded
(generally, this occurs before the page is displayed).
On Fri, Apr 10, 2009 at
Removing the script elements won't do anything, the code has already
been executed. You can simply use 'delete jQuery; delete $;' for
example.
Having multiple jQuery instances is not a great idea either for
performance or code clarity purposes. But a possible approach is to
create an iframe and
Thanks guys.
It looks like Brians first fragment addresses the problem I have.
On Apr 11, 2:04 pm, brian bally.z...@gmail.com wrote:
The problem is that you've got a handler inside of a handler. You want
either of these:
$('.thumbnail').live(click, function(){
alert(
I think you already got the .dc namespacing thing, so: the mousedown
is not being bound to the checkbox, but to the container element (the
table, or in my example below, the UL). When you click a checkbox the
mousedown event will bubble up to the container and fire this handler.
As I expected my
85 matches
Mail list logo