Yes, just check the input value. You could use the validation plugin
for that: http://bassistance.de/jquery-plugins/jquery-plugin-validation/
The demo here has two file inputs that get validated:
http://jquery.bassistance.de/validate/demo/errorcontainer-demo.html
Jörn
On Sat, Sep 6, 2008 at
On Sep 7, 2008, at 6:01 AM, C.Everson wrote:
On Sat, 6 Sep 2008 16:38:55 +0300, Mika Tuupola wrote:
http://www.appelsiini.net/projects/jeditable/wysiwyg/wysiwyg.html
Selecting text and clicking the H1-3 does not work for me in IE7.
Look like a bug in jWYSIWYG plugin itself. Will
You need to ajaxify those links after the content has been loaded:
$(function() {
$('#example').tabs({
load: function(e, ui) {
$('a', ui.panel).click(function() {
$(ui.panel).load(this.href);
return false;
});
}
});
Hi there Michael and Chad,
Thanks for the help it worked perfect. Thanks for the suggestion
regarding the subject of the mails.
Regards,
Schalk
Michael Geary wrote:
Any time you get a jump like that at the beginning or end of an animation, a
likely culprit is margin or padding on one of the
[EMAIL PROTECTED] wrote:
Whoa just looking that and all the documentation makes it look way
over my head for a newbie ;).
Yup, I could imagine but it is quite simple when you realise what is
involved. I did a write-up on this topic recently that might be of some
help [1].
If I did this,
I have a simple accordian-style menu working well. Taking care to
enclose inner, padded elements in divs ensures that everything
animates smoothly.
However, I've run into a problem that I've read about here, but
apparently without a solution (
Thank you both for taking the time to guide me in the right direction. I have
solved the problem, and you do need to create a new parser. The reason it
seemed to work when the page is loaded is because the textual representation
of a checked and un-checked checkbox is different.
However, the
Nobody who have a example for me ?
Roelof
On 6 sep, 19:04, roelof [EMAIL PROTECTED] wrote:
Hello,
For mij website i like to use this script.
But i can't find how to implement this.
Can someone tell me that,
Roelof
Is there a way to store the status (hidden, visible) of a div for
example
after a page reload?
I want to give the users the possibility to custumize the sidebar.
Hidden elements could be made visible again on a special settings site.
When the user enters the main site all sidebar elements are
Ok,
this is exactily what I want.
It's true, sometimes 'simple' javascript may be the solution. However,
I'm trying to write all the javascript via jQuery but now, I'm
starting to see that, possibly, this way is not the best.
Thanks for all!
On 7 sep, 00:10, MorningZ [EMAIL PROTECTED] wrote:
Hi. Can anyone tell me while once I get inside the success function
$j(this) is no longer defined?
Thanks! :)
$j(a.complete).click(function () {
$j.getJSON(https://foobar?my=; + $j(this).attr(title),
function(data){
if (data.status == Completed) {
hi All ,
an interesting find...am not sure if its a bug or not..but am open to
debate.
Looking at the jquery.append()...which is considerably slow for methe
same with jquery.html()
basically the latter jquery.html() internally routes back to the
query.append() method ..is this a bug
I am hoping someone might be able to help with this problem.
I am using the jQuery history plugin and it is working fine, except
that in IE 6, I hear the 'start navigation' click sound twice when
navigating backwards and forwards between pages.
I have got as far as identifying the parts of the
hi,
thanks for the answer.
my answer is so:
how can i detect the client browser setting with javascript. example:
the client browser blocked Popups. this example i could solve it, but
what i need is right now, how can i know if the browser of the client
are enable images to display.
if u dont
Hi,
i used .html(), but IE6 is crashed.
i found the solution:
The problem with expression in css (max-height hack for IE):
JS: $(#chat_userlist).html(out); // here chrashed
CSS:
#chat_userlist .u .p img{
width: 100%;
height: auto;
max-height:40px;
_height:expression( this.scrollHeight
@ Lukas MorningZ
If you don't use jQuery for the task, you my have to assure by
yourself that the code will work under all the browsers.
On Sep 7, 1:39 am, Lukas Polak [EMAIL PROTECTED] wrote:
you don't need to use jQuery. I've just been solving problem about how
can I get value of SELECT by
If you don't use jQuery for the task, you my have to assure by
yourself that the code will work under all the browsers.
jQuery does a lot of things, but it doesn't do close to everything...
not even close... it's not the magic bullet for cross-browser
and in this particular case of
djn - I gave it a quick try and it seemed to work for me in IE7. Were
you having problems in IE7 or IE6?
-Eric
On Sep 6, 5:53 am, Dejan Kozina [EMAIL PROTECTED] wrote:
Hello list.
Is there somebody here that could help me understand a strange thing
about IE rendering a Google Map inside of
On Sep 7, 2:02 am, Michael Geary [EMAIL PROTECTED] wrote:
There are probably quite a few of us who would have seen that and gone, Oh
yeah, must be margin or padding as usual.
I think most probably the culprit is a collapsing margin, which
doesn't collapse anymore once the elements are
Although there's a way to supress that sound:
http://www.julienlecomte.net/blog/2007/11/30/
you can't have both: By using this trick, you will break the back /
forward navigation buttons. Therefore, this trick should only be used
for a non-navigational purpose only.
--Klaus
On Sep 7, 12:25
Ca-Phun Ung wrote:
OK so I was right - you do have a double equal sign in your code! Change:
$(this).css(background-color) == p_color;
to
$(this).css(background-color) = p_color;
Actually, there shouldn't be an equal sign in the first place because
the css() acts as both a getter and
Hello Klaus,
I found your post while surfing the web.
I too have problem with link anchors jumping to the top of a HTML
page.
Please visit: http://www.pictureframe.com.au/picture_frame_contact.html
Click Send and you will see what I mean.
I am happy to pay for a fix to this issue.
Greetings!
I`m using jquery auto complete plugin from
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
Initialized with local JSON data which i receive from server the data
is something like
var data = [{elem0:data0},{elem1:data1}]
After that i`m trying to add new element to the
I built a box/panel that collapses to the left, but so that it keeps
visible with a small width.
By default (in expanded state) it should have width: auto.
Collapsing is easy:
boxHeader.animate({width : '19px'}, 'fast');
However: Is there an easy way to expand it back?
It would be very nice
I got that working by putting height to the div tag
Bye for now
CSJakharia
It still has a very small bit of lag to it, but I think its a lot
faster with the event delgation.
Anyway we can clean this up a bit more?
\$('#pixel-grid').click(function(e) {
if ( \$(e.target).is('.button px') )
var color =
I think i've almost got it!
\$('#result').click(function(e) {
if ( \$(e.target).is('.button px') )
var color = \$(input#color_code).val();
\$(this).css({ backgroundColor:color });
color =
You're within the scope of another function.
If you want to keep a reference to the clicked link, you could do
something like this:
$j(a.complete).click(function () {
var $aComplete = $j(this); // -- hold onto to $j(this)
$j.getJSON(https://foobar?my=; + $j(this).attr(title),
You could use the cookie plugin and set a cookie for the visible state.
Here is a simple example:
http://test.learningjquery.com/cookie-menu.html
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Sep 7, 2008, at 8:03 AM, Jochen Kaechelin wrote:
Is there a
You can flush the cache, that should make modifications to the data
array visible: http://docs.jquery.com/Plugins/Autocomplete/flushCache
Jörn
On Sun, Sep 7, 2008 at 4:31 PM, Julian [EMAIL PROTECTED] wrote:
Greetings!
I`m using jquery auto complete plugin from
ScrollTo doesn't bind, just scrolls, so no need to use LiveQuery to
call it.
Also, id's can't start with a number.
Example:
function scrollToID( id ) {
$('#hold').scrollTo( '#'+id, 1000 );
}
$('#hold').load('someData.php', function(){
scrollToID( 'foo' );
});
--
Ariel Flesler
Thanks for the fast response, but after i use flushCache() there are
no results after i press key into the inputbox.
I ask this question because i use more than one input box with that
data, and after i update the JSON data i must unbind all inputs.
Greetings!
[EMAIL PROTECTED] wrote:
Anyway we can clean this up a bit more?
\$('#pixel-grid').click(function(e) {
if ( \$(e.target).is('.button px') )
var color = \$(input#color_code).val();
\$(this).css({ backgroundColor:color });
Thank you! That worked great =)
Basically once I get the data back and it has the correct status, I
want to 'swap styles'. Right now, I just remove one, then add the one
I want.
Is it possible to fade between styles? It doesn't look like it to me,
because the fade() function does not seem to do
I want to append the result of a load() call, rather than replacing
everything in the element, like this:
code
$(a).click(
function(){
$(this).append( load(./my_data.php) );
});
/code
I've tried
code
$(a).click(
function(){
I have a little problem with the following code,
alert('start');
$.post(ajax.asp, { email: email },
function(data){
alert(Data Loaded: + data);
});
// should wait until Data Loaded
alert('start2');
$.post(path.asp, { email: email }, validateReturn)
Hi Eric. Thank you for looking at it.
I have IE7 installed, plus IE6 and IE8 beta 2 as VirtualPC images. All
three show the mishap whet that last empty p is not present.
djn
Eric Martin wrote:
djn - I gave it a quick try and it seemed to work for me in IE7. Were
you having problems in IE7 or
$.post returns immediately. It does not wait for the data to be downloaded.
There is an option to force it to wait, but that is definitely not
recommend, since it locks up the browser (and *all* browser sessions from
the same browser instance) while waiting.
The callback function is where you
Hi,
I tried and it is working ... well kind of. I am using FileStyle
JQuery plugin to style the file input:
http://www.appelsiini.net/projects/filestyle
So the generated code (note the error message that is working):
label for=PathFicheiro/label
input class=file style=display: inline; width:
OK... so here's what I've got so far. I'm trying to work out the
jQuery so that if the iBegin weather widget is successfully loaded,
then the div id=weather is shown... otherwise, it's hidden.
script type=text/javascript
jQuery.ready(function(){
The function passed to $.post is a callback, meaning execution
continues in the main thread of operation until $.post returns, at
which point the callback function is executed. To make your 2nd post
command wait until after the first is completed, your second post
command should be part of your
hi all,
i need to know, how can i indicate with javascript if the client
browser are enable ito display images. sohow can i to check that?
which functions are need for that?
the client has to be informed, if his browser has to be adjusted at
first, to be the images able to display.
pls help and
I'm having trouble using a subsequent selector on an HTML page
returned from $.post, while trying to write a Ubiquity command.
If I log or display ajdata, as returned from the $.post, it contains
the HTML page, as expected, and shows up as a jQuery object in
Firebug.
What I want to do is use a
Sorry, i didnt realize that i was writing in spanish. Here is the
traduction:
I had a trhouble with the .html() method, it seems to dont perform
successfully the append of script tags. Althought this code seems to
run fine, even if the html_data contains script tags
Hi,
I have a variable (data) with html content.
I need only get the innerHTML(?) from one element in content. The
element is a div with id.
Sample:
htmlbodytabletrtddiv.../divdiv id=myDivmore html
here/div/td/tr/table/body/html
I try create a element with the variable content but this dont
I built a box/panel that collapses to the left, but so that the header
keeps visible with a small width.
By default (in expanded state) it should have width: auto.
Collapsing is easy:
boxHeader.animate({width : '19px'}, 'fast');
However: Is there an easy way to expand it back?
It would be
Hi Colin,
Really great to hear back from you!
Regarding your question, jqMock can test that functions on one particular
object are executed in a particular order
(see section on Ordered and Unordered Expectations in user guide).
However, the ordering is maintained within the mock for that
There was an earlier discussion:
http://groups.google.com/group/jquery-en/browse_thread/thread/4480f62e57bd7e82?tvc=2q=detect+whether+images
On Sep 7, 12:58 pm, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
hi all,
i need to know, how can i indicate with javascript if the client
browser are
I often use rails' periodically_call_remote to update a div for
example and render a partial with the newest database entries.
How will the JQuery way look like?
Thanx
Cristiano, try this:
var data = 'htmlbodytabletrtddiv.../divdiv id=myDivmore
html here/div/td/tr/table/body/html';
var html = $(data).find('#myDiv').html();
alert( html ); // alerts 'more html here'
-Mike
-Original Message-
From: jquery-en@googlegroups.com
[mailto:[EMAIL
Can you post a link to a test page that illustrates what you're trying to do
and what isn't working? It's pretty hard to tell what might be wrong without
seeing things like the HTML that the $.post() returns.
-Mike
From: [EMAIL PROTECTED]
I'm having trouble using a subsequent selector on an
Here is a different approach. Include the javascript source for the
weather.ibegin.com in the body of your page. On load run a delayed
function to see if it has written its forecast to your page. I ran
this on a test page and it worked. I could never get the ibegin source
to fail, therefore I had
Your code has a syntax error in it. Install Firebug in your Firefox browser
and enable it for your page. Then reload the page and you'l get an error
message. It's referring to is the {} in the .replaceWith({...}) call.
But fixing that won't help, because the logic is wrong. The code seems to be
theres this here
http://www.ngcoders.com/pquery/demos/ajax/
coded like so inside a document ready:
setInterval(function() { $.ajax({url: index.php?task=ajaxtimernd=+new
Date().getTime()+, success:
function(response){$(#idtime).html(response);}, dataType: html}) },1000)
I think the jquery spy
-Original Message-
From: Gavin Henry [mailto:[EMAIL PROTECTED]
Sent: Thursday, 4 September 2008 21:01
To: Senn, Michael - Acision
Cc: openldap-software@openldap.org
Subject: Re: Compilation on OpenVMS
Senn, Michael - Acision wrote:
Good Morning,
I am currently involved in an
55 matches
Mail list logo