On Feb 12, 8:32 pm, "Andy Matthews" <[EMAIL PROTECTED]> wrote:
> We've been using FCK editor for a while now. It used to create a single
> return when hitting the enter button. We recently upgraded to a newer
> version (2.5 I think) and now it creates a double space instead.
shift + enter = singl
On Feb 12, 10:13 pm, bractar <[EMAIL PROTECTED]> wrote:
> I want to put the result of 'index.php/get/s_document_loadFields/' in the
> input field $('#newDoc_name') after selecting a value in the list
> $('#newDoc_select')
>
> The following code doesn't work for me
> $('#newDoc_name').load('index
On 13 Feb, 09:05, Bruce MacKay <[EMAIL PROTECTED]> wrote:
> s=clonedRow;
> var myString = 'showImageList'+iRowID;
> var myString2 = 'showImageList'+iNewID;
> var myString3 = s.replace(myString,myString2);
>
> The error message I get is s.replace is not a functio
On 13 Feb, 01:11, Nick P <[EMAIL PROTECTED]> wrote:
> The trouble comes when I try to append this cloned block to the end of
> the table. If I just do:
>
> blockCopy.appendTo("[EMAIL PROTECTED]:resources] tbody:first");
>
> It appends the clone correctly, but the hidden fields are still
> hidden.
On 13 Feb, 10:37, howa <[EMAIL PROTECTED]> wrote:
> Hello, I want to loop thru each elements with the each() function,
> except I want to skip the last element, are there simple method?
hi, I would exclude the last item directly within the selector
$('#elements').not(':last').each(function(){
On 13 Feb, 10:59, Michael <[EMAIL PROTECTED]> wrote:
> *Bump*
hi :)
the problem is you just want to select the first anchor?
$('a:first')
or just the one that has the title ChangheCSS?
$('a[title="ChangeCSS"]')
and so on... don't know if this helps...
On 13 Feb, 12:23, wwwiori <[EMAIL PROTECTED]> wrote:
> Dear Team,
> I have a question that how can I modify the attribute using jQuery.
> For example:
> There have a element:
>
> and now I would like to change the type to "button", following code is
> my tried on IE7 and Firefox 2.02 on jQu
On 13 Feb, 15:31, Feed <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I think I've looked all plugins available on jquery.com and haven't
> found what I need.
hi :)
you don't need all of the plugins, but just one: Brandon Aaron's
'dimensions'
http://brandonaaron.net/docs/dimensions/
I wouldn't use flo
On 13 Feb, 16:03, "Chris Jordan" <[EMAIL PROTECTED]> wrote:
> that's lame.
definitely.
but I think it has something to do with editors like Dreamweaver. I
remember using it once... is there a CTRL+Return combo or something?
On 13 Feb, 15:56, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I've been trying to [1] get a named boolean out of this, which I can
> later use for checks; [2] turn it into a reusable function - ideally,
> both things together!
I think it is not easy as it seems, and I'll try to explain why :
On 13 Feb, 06:41, spaceage <[EMAIL PROTECTED]> wrote:
> Is this a reasonable undertaking using jQuery, or is there another
> better way (or plug in) to do this?
jQuery is perfect for this kind of things :)
just give the div a overflow:hidden style, and the li's a
position:relative, and a very hig
Notepad++;
:)
there's a toggle() method, too, that toggles between two functions.
like this:
$("#container").toggle(function() {
$("#container").animate({"marginTop": "-300px"}, "slow");
}, function() {
$("#container").animate({"marginTop": "300px"}, "slow");
});
:)
On 14 Feb, 15:26, Michael Schwarz <[EMAIL PROTECTED]> wrote:
> Hi everybody,
hi :)
> A) change
> src="/img/btn_search.gif"
> into
> src="/img/btn_search_hover.gif"
> onMouseOver and back onMouseOut
$('.hoverThis').hover(function(){
$(this).attr('src', '/img/btn_search_hover.gif');
}, fun
On 14 Feb, 15:04, spaceage <[EMAIL PROTECTED]> wrote:
> andrea--thanks so much for this helpful tip.
you're welcome :)
> I would have expected some form of .each perhaps with an incrementing
> variable to use as the "multiplier" for determining the top valu
On 14 Feb, 15:57, freech <[EMAIL PROTECTED]> wrote:
> //I have problem on here:
> if ( !$(".sdComt").response ) { return false; } else { return
> true; }
ok, if I got it right, you're using a $.post call to check if the
user's input is correct or somehow acceptable, and then you app
On 14 Feb, 16:59, hcvitto <[EMAIL PROTECTED]> wrote:
> data: what should i write here??? how should i send my
> arrayCheckBox values??
you have to use a map, an object containing name: value pairs.
the names will be the names of the variables that the php script is
expecting to receive.
so if t
> $(".items").animate({"margin-left":"+="+amount+"px"},"slow");
> I really hope you can help me, I had never encountered this problem before.
try and take away those '+=', you wouldn't write a css rule like this
margin-left: +=300px;
:)
On Feb 15, 12:19 am, "Brian Cherne" <[EMAIL PROTECTED]> wrote:
> Actually, the += and -= are perfectly legit for the animate method. They
> allow you to animate a property relative to its current
> value.http://docs.jquery.com/Effects/animate
ooops, I'm sorry I didn't know that :)
On 15 Feb, 06:20, freech <[EMAIL PROTECTED]> wrote:
> 1. I handle the check.php file like:
> if (!isset($_POST['username'])) echo "please input a username";
> ... if $username already exists, echo "the name you try to register is
> already taken";
I think you could insert in your document a wit
On 18 Feb, 05:06, expresso <[EMAIL PROTECTED]> wrote:
> I figured maybe I could just append an addClass after the
> element.parent("td").next("td") but not sure if that's correct
that's correct if you want to add tha class to the table cell which is
next to the element you pass (to the function).
On 18 Feb, 10:15, andrea varnier <[EMAIL PROTECTED]> wrote:
> that's correct if you want to add tha class to the table cell which is
> next to the element you pass (to the function).
I'm sorry this is completely wrong!!! :)))
don't know what I wrote. like you wo
On 18 Feb, 13:59, andrea varnier <[EMAIL PROTECTED]> wrote:
> $(element.parent('td').next('td').addClass('myClass');
errata corrige:
element.parent('td').next('td').addClass('myClass');
assuming var element already contains a jQuery object.
I'm sorry, I really should have stayed home today :|
On 18 Feb, 05:17, expresso <[EMAIL PROTECTED]> wrote:
> Actually I already included my .css page. How do I just add a class
> to the here is what I'm really asking.
$(element.parent('td').next('td').addClass('myClass');
this doesn't work?
On 18 Feb, 16:22, Eridius <[EMAIL PROTECTED]> wrote:
> anyone?
I think that if you don't post some more infos it will be very
difficult to think of an answer.
what do you need this for?
maybe someone can suggest another approach...
:)
On Feb 20, 8:55 pm, dinu <[EMAIL PROTECTED]> wrote:
> xx=$("form#form1 *").fieldValue()[0];
hi :)
have you tried this?
xx=$("form#form1 *").fieldValue()[0].toLowerCase;
var xx=$("form#form1 *").fieldValue()[0].toLowerCase();
sorry :p
On 21 Feb, 23:03, Sientz <[EMAIL PROTECTED]> wrote:
> $('a#blackbook').click(function() {
> //HIDE DIVS
> hide_divs();
> //SHOW LISTED DIV
> $('.blackbook').show('fast');
> return false;
> });
you see you got all these functions that basically do the same thing.
if an anch
hi :)
I'm wondering is there a way to pass form data to $.ajax()?
let's say I want to upload a file, what is the correct way?
passing the content of the input type="file" this way
$('#myInput').val()
doesn't work.
How is that done?
thank you
andrea
On 4 Mar, 12:58, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> You cannot upload files with ajax. Use the form plugin for that
> functionality.
thank you :)
On 9 Mar, 17:16, eyal <[EMAIL PROTECTED]> wrote:
> Hello,
>
> For some reason i'm having "missing ; before statement" error when i'm
> running ui.tabs altough on the demo page it's run just fine.
>
> What do think might be the problem?
>
> Thanks!
> Eyal
could you please post some of your code so
urn data via json?
hi, here it is your code, that should work:
> jQuery.post(container.url, {
> "data1":1},
> function(data){
> var rData=data
> });
:)
andrea
fields. If one field is empty I want to
show an error message on this window, but it closes and I am back on my main
window.
What do I have to do (maybe a short example), to stay in the window until I
explicitly close it with jqmClose?
Thank you,
Andrea
--
View this message in context:
http
On 17 Apr, 21:43, nmadg <[EMAIL PROTECTED]> wrote:
> What am I doing wrong!!! Thank you so much for your help.
are you working with a local file?
IE doesn't like it at all!
if this is the case, don't worry, it'll work once the system will be
online.
otherwise, if you need to use local files anyw
Hi :)
what is the fastest way to edit a item?
I need to show some 's and hide some others, depending on the
value of another select.
let's say if the user selects a country for his holiday, in the
'#hotel_paese' select, the '#hotel_destinazione' select will show only
the hotels of that country.
p
not sure but you could try something like this, to get more
specific...
$('#Main_Nav li:has(ul)').mouseover(function(e) {
e.stopPropagation();
$(this).children('ul').slideDown('normal');
}).mouseout(function(e) {
e.stopPropagation();
$(this).children('ul').slideUp(
On 9 Mag, 17:17, NeilM <[EMAIL PROTECTED]> wrote:
> success : function(data) {
> // Process data here
> }
what is this function supposed to do?
it seems that it doesn't get the correct data (like the data var is
empty or something).
are you sure that your serversid
On 9 Mag, 23:11, Panman <[EMAIL PROTECTED]> wrote:
> Andrea, when I changed to hover() the stopPropagation() effected
> negatively. Once I removed that it started working ok. Also, what is
> variable e when passing it to the function? Thanks
e stands for event (you can use the
thank you very much to the both of you!
I'll try and let you know :)
just a question for Wizzud: what is this? O_o
> me[sel_val=='' || me.is('.'+sel_val) ? 'show' : 'hide']();
if I get it, writing
me.show();
or
me['show']();
is the same? I didn't know.
thanks
andrea
On 9 Mag, 23:05, Wizzud <[EMAIL PROTECTED]> wrote:
> An alternative...
thanks Wizzud, your code is much faster than mine!!
thank you very much ^^
On 12 Mag, 12:31, quirksmode <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am dynamically generating html which looks like this:
since you're generating the html dynamically, I'd suggest you do it
server side (i.e. a for loop).
if that is not possible, change with , if you need the "wrapper" string, or
On 12 Mag, 13:05, Pickledegg <[EMAIL PROTECTED]> wrote:
> How do I refer
> to the current dropdown being changed, and get its value?
hi :)
you should use $(this).val()
On 12 Mag, 12:57, Bruce MacKay <[EMAIL PROTECTED]> wrote:
> Hello folks,
uhm... it's kinda strange O_o
maybe this line:
> $("#justlist,#tech").hide();
is hiding something it should not?
just guessing ^^
On 13 Mag, 01:35, Luciano <[EMAIL PROTECTED]> wrote:
> how i can access classes in my div?
>
> content top
> content slideToggle
>
>
>
> content top
> content slideToggle
>
looking at your code, the action is something like this:
"when the user clicks on a bloc-top element
On 13 Mag, 16:29, canadaduane <[EMAIL PROTECTED]> wrote:
> I wonder if you're looking for 'filter' instead of 'next'?
>
> $('.bloc-top').click(function(){
> $(this).filter('.bloc-center').slideToggle('slow');
> });
well... first of all I'm not quite sure about the html Luciano posted.
I suppose
On 14 Mag, 11:01, sashabe <[EMAIL PROTECTED]> wrote:
> Hello!
hi :)
you'd better use the submit() method and 'return false'.
Then a quick solution to your problem could look like this:
$(document).ready(function(){
$('form').submit(function(){
if ($('input:first', 'form').val() == ''
On 16 Mag, 09:05, thiendv <[EMAIL PROTECTED]> wrote:
> Hi all! I want create slide box like click on "More Yahoo! Services"
> inhttp://www.yahoo.com. Please help me thanks
I'd suggest you read this great tutorial by Karl Swedberg
http://www.learningjquery.com/2008/02/simple-effects-plugins
:)
hi :)
I have this form:
File:
Nome:
Tags per l'immagine:
jquery code is simple:
$('#sub_immagini').ajaxForm();
if I submit it while it's em
On 23 Mag, 13:48, yabado <[EMAIL PROTECTED]> wrote:
> Nice, but I thought this was built into JQ and did not require a
> plugin to work?
no, it is not :)
On 8 Giu, 05:36, mark <[EMAIL PROTECTED]> wrote:
> but if i do this
>
> $('#date').datepicker("setDate", new Date ( "January 6, 1972" ));
try adding curly braces, to define an object, like this:
$('#date').datepicker({defaultDate: new Date ( "January 6, 1972" )});
On 15 Giu, 20:45, fallingandlaughing <[EMAIL PROTECTED]> wrote:
> Hello,
try and take a look at this great tutorial by karl swedberg
http://www.learningjquery.com/2008/02/simple-effects-plugins
:)
On 15 Giu, 08:48, Shawn <[EMAIL PROTECTED]> wrote:
>$("#criteriaStart").datepicker("setDate", sd);
>$("#criteriaEnd").datepicker("setDate", ed);
I think you're missing curly brackets here:
$("#criteriaStart").datepicker({setDate: sd});
On 15 Giu, 14:55, "Ariel Flesler" <[EMAIL PROTECTED]> wrote:
> var n = +"forum-list-1".slice(-1); ;-)
I think this won't work if the number has 2 or more digits.
The split('-').pop() way works better imho :)
On 16 Giu, 11:48, Shawn <[EMAIL PROTECTED]> wrote:
> However, the docs found
> athttp://docs.jquery.com/UI/Datepicker/datepicker#.22setDate.22dateendDate
> (scroll to the bottom of the page), do not seem to indicate an object is
> being used to pass the parameters.
you're right, and maybe my sug
On 16 Giu, 08:06, Mike <[EMAIL PROTECTED]> wrote:
> Any?
it would help if you posted some code, I think :)
7;_')[1];
$('#' + the_id).html('cool this is bold');
});
$('img[class^=textChanger]') means: look for the images that have a
class whose name starts with the string 'textChanger'.
hope this helps
andrea
On 16 Giu, 11:58, shapper <[EMAIL PROTECTED]> wrote:
> Hello,
>
> As far as I know to style the error messages a "error" CssClass is
> used.
> Can I use another CSS Class? For example, "ShowError"?
hi
you can use any class you want, as long as it is defined in your style
sheet :)
On 16 Giu, 11:29, "C. Feldmann" <[EMAIL PROTECTED]>
wrote:
> I assume that the newly ajax updated content has not been initialized.
you're right.
> What do I have to call after an ajax updating function to ensure
> working events?
you could simply re-initialize the elements, or, better, read th
On 17 Giu, 02:02, Lowell <[EMAIL PROTECTED]> wrote:
> When I call html(5) it will set the innerHtml of my element(s) to "5".
> However, zero seems to work differently. When I call html(0), it
> removes the contents of my element(s) and does not append anything. I
> had hoped after a call to html(0
On 19 Giu, 21:50, ontguy <[EMAIL PROTECTED]> wrote:
> Hello,
>
> How would I select all divs with a certain name?
what do you mean 'name'?
id? that would be $('#mydelete')
but it's like css, if you want a certain class $('.mydelete')
and so on...
http://docs.jquery.com/Selectors
:)
On 20 Giu, 22:16, jggube <[EMAIL PROTECTED]> wrote:
> He meant id. In his example he used #mydelete. To select everything
> with class="test" in mootools, you would do $$(".test").
so let's say that jQuery is cheaper, cause it uses less dollars :)
Hi, how can I eliminate that sort of easing in the animations of the
SerialScroll plugin?
when an action starts, for example on an with images in its
's, the images start moving slow, then they reach full speed, and
finally they stop by slowing down again. then the next animation is
fired.
I got
On 25 Giu, 11:07, Pegpro <[EMAIL PROTECTED]> wrote:
> How can I make jquery do an effect when clicking a link and when it is
> finished animating follow the link?
you can use a callback function, that is to say a function that is
called when the effect has finished :)
fadeOut, for example:
$('a.
I put a tag on the subject, but it disappeared... :|
anyway, the question is about the SerialScroll plugin, how can I
change the subject now?
thank you anyway :)
imation.
is there a way to have the first element coming out after the last, as
if it was 'appended' there?
thanks a lot!
andrea
On 26 Giu, 07:47, hubbs <[EMAIL PROTECTED]> wrote:
> I have a list of links, and when one is clicked, I would like a class
> to be added. I understand how to do this, but when you click another
> link, I would like the class removed from the first click and added to
> the second click, and so on,
On 26 Giu, 05:08, Brad <[EMAIL PROTECTED]> wrote:
> Your options should have "value" attributes and not "name".
>
>
> Text
> Text 2
>
>
> Try something like
>
> $("textselector option:selected").val();
This works, but since the selected option is the actual value of the
, I would do something l
On 26 Giu, 06:20, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a form, with id="myForm", with a number of text fields (input
> with type="text"). How do I cause a form submission by pressing enter
> in any of those form fields?
hi. shouldn't this be a default?
On 27 Giu, 02:41, Pegpro <[EMAIL PROTECTED]> wrote:
> IE sucks. What is wrong here?
one question: why are these quotes backslashed?
> jQuery(\"a:contains('Home')\")
On 3 Lug, 11:11, yazid <[EMAIL PROTECTED]> wrote:
> such a contradictory problems appear frequently, solution please.
maybe http://docs.jquery.com/Core/jQuery.noConflict
:)
added this at line #865
else if (this.tagName.toLowerCase() == 'input') {
this.select();
}
don't know if it's a valid patch though, or if I messed up something
else.
for now it seems to work, I just wanted to share, and have your
opinions.
thanks
andrea
On 19 Ago, 04:29, jack <[EMAIL PROTECTED]> wrote:
> If an event hasn't finished how do I prevent the same event being
> triggered again? Thank you in advance!
you could just unbind() the action from the element that triggers it,
and then re-bind it once the event has completed :)
WON'T work :|
where is my mistake? at first I thought those declarations were just a
matter of true or false, but the example I reported above (taken from
alsup's form plugin) is clearly something more interesting!
can anyone help me please?
thank you
andrea
thank you very much, all of you! :)
Now I got it, I really appreciate your help.
andrea
On 20 Ago, 09:35, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote:
> For example, if you do an ajax request to a page.php that do a query to
> the db, and return the data, you'll user the function json_encode (php5,
> or PEAR on php4) to write the response for javascript.
if you cannot use tha
101 - 175 of 175 matches
Mail list logo