Still nothing guys? I can't even think of a decent alternative.
I am using the themerollers so that I can use the slick dialogs in an
appication - I use the dialogs when a record is inserted, updated, to
confirm delete, delete confirmation - and validation errors - I have a
panel above a gridview where the user adds a record or selects a
record from the gridvie
Oops! Make that... otherwise you get nested divs.
$("#menuJ a").click(function(){
var js = $(this);
$("#pageArticle").fadeOut(500, function()
{
$.post( js.attr("href"), null, function(response)
{
$("#pageArticle").html(response);
$("#pageArticle").fadeIn(500);
},
"html");
});
Thanks Brian
The working script is as follows:
$("#menuJ a").click(function(){
var js = $(this);
$("#pageArticle").fadeOut(500, function()
{
$.post( js.attr("href"), null, function(response)
{
var bob = "" + response + "";
$("#pageArticle").html(bob);
$("#pageArticle").f
2009/12/12 morwo :
> On Dec 6, 8:31 am, Rafał Pocztarski wrote:
>> 2009/12/3 shapper :
>> Try using === instead of ==
>
> This is PHP operator, isn't? And we're talking here about javascript.
Yes, I somehow managed to figure it out that we're talking about JavaScript.
> Is there such operator in
I think you've got it! By George you've got it!
(With apologies both to you and to Rex Harrison and Audrey Hepburn!)
What you describe is not the only way to do it, but it's certainly a good
way.
You just have to understand what variables a function has access to. Of
course a function can access
you may want to consider the jQueryUI draggable. It has containment
option
http://jqueryui.com/demos/draggable/
you also benefit from a big support group for UI
exodusnicholas wrote:
I'm using http://dev.iceburg.net/jquery/jqDnR/ this tiny drag plugin to
drag div.slider horizontally acr
I believe the sudden appearance is due to the fact that the new div
was not hidden. But, a better approach would be to not replace the
#pageArticle div. Instead, replace its contents, then fade it in.
On Fri, Dec 11, 2009 at 5:02 PM, S9DD wrote:
> Hi Folks
>
> This script fades out a div tag with
Bear with me - I am not a web programmer or designer so I'm sorry if
this post is not terribly clear.
Trying to use the 'Validate' JQuery plugin (my thanks to all those who
provide such amazing pieces of work) using Chrome and Firefox 3.6 and
have one small problem with its default behaviour.
If
I have a similar situation with a timepicker control. I have a text
input and an image that displays a popup when selected.
The popup fills the input field when a selection is made. The
timepicker control allows me to define a callback whenever this
occurs.
I use the callback to force validation
Sucheta,
You need to trigger a change event when the popup sets the input
field. Something like...
mydateinput.change();
~Rob
On Dec 4, 3:41 am, sucheta wrote:
> Hello all,
>
> I am using the
> JQueryvalidator fromhttp://bassistance.de/jquery-plugins/jquery-plugin-validation/
> . And I am us
I'm using http://dev.iceburg.net/jquery/jqDnR/ this tiny drag plugin to
drag div.slider horizontally across it's div.container.
I do not want div.slider to be able to go past the bounds(don't want it to
exit) div.container.
so when div.slider reaches the very right side of it's container
div.con
How deep in the scope can you go in nested functions and still return
a value? For example:
$.validator.addMethod('userCheck', function (value) {
$.ajax({
type: "POST",
url: "_scripts/send_message.php",
data: "action=checkuser& username=" + value,
success: funct
How deep in the scope can you go in nested functions and still return
a value? For example:
$.validator.addMethod('userCheck', function (value) {
$.ajax({
type: "POST",
url: "_scripts/send_message.php",
data: "action=checkuser& username=" + value,
success: funct
Oh ok :)
So in order for me to pass arguments without triggering
clickFunction1 immediately,and instead triggering it when the link is
clicked, i have to call it through another function thats not passed
any arguments? So it´s still ok to use an anonymous function like in
my example to achieve t
No, the two examples shouldn't work the same. They are both working exactly
as expected.
Let me slightly rewrite each version in a more step-by-step fashion and you
will see why. The first version is equivalent to:
$(function() {
function handleClick() {
clickFunction1();
}
$('a.l
this tutorial on event delegation should help
http://www.learningjquery.com/2008/03/working-with-events-part-1
if you follow tutorial you'll likely end up with some statement like:
if($tgt.is("#search_form")){
// do nothing
}else{
// do something
}
daft01 wrote:
i want to select the div
Hi,
I've found the perfect JQuery-Plugin for my needs:
http://www.redcarrot.co.uk/2009/11/11/collapsible-checkbox-tree-jquery-plugin/
Maybe one is also interested in my solution, because it seems that my
question was to hard or maybe to much information for those who are
reading these emails?
ch
On Dec 6, 8:31 am, Rafa³ Pocztarski wrote:
> 2009/12/3 shapper :
> Try using === instead of ==
This is PHP operator, isn't it? And we're talking here about
javascript.
Is there such operator in JS? O.o I'd rather write it like that:
if( typeof(cookie) != 'undefined' && (cookie == null || cookie
On Dec 6, 8:31 am, Rafał Pocztarski wrote:
> 2009/12/3 shapper :
> Try using === instead of ==
This is PHP operator, isn't? And we're talking here about javascript.
Is there such operator in JS? O.o I'd rather write it like that:
if( typeof(cookie) != 'undefined' && (cookie == null || cookie ==
Hi again,
I managed to workaround this issue by using absolute positionning
values for top left corner of the anchor and then expanding it with
paddings.
I however found an issue with Supersubs. It works great on IE8 and FF
but on IE6, the width:auto automatically added causes some problems.
Ther
i want to select the div with id headerimg, so this is:
Code:
jQuery("div#headerimg").click(function () {
document.location="http://google.com/";;
});
but at the same time i want to omit a table with id=search_form from
the selection.
thanks
I ended up modifying the href of a link with the values of the form
fields and having the form click on it. here's the HTML/JQuery:
HTML:
http://www.google.com/d.jsp";
target="iframe" method="post" id="bid">
popin
JQuery:
$(document).ready(function(){
$('#bid').submi
Ok, thank you for your anwer :) Appreciate it!
One more question.
If i use the code in example 2 the function gets triggered without me
clicking the link, in example 2 it gets triggered only when i click
the link.
Dont know if i´m doin anything wrong here? Shouldnt both examples work
the same?
1.
I looking-for some plugin for sound effect for eg. click, sliding,
etc.
Not player for songs!
Bye!
25 matches
Mail list logo