Maybe you should first learn how to upload one file with PHP:
http://de2.php.net/manual/en/features.file-upload.php
and the the multiple way:
http://de2.php.net/manual/en/features.file-upload.multiple.php
Instead of $_POST use $_FILES
On 9 Nov., 23:32, dmackerman <[EMAIL PROTECTED]> wrote:
> I
Hi Jon,
you have to load the skin of the shadowbox wich seems not to be
included automatically if you build your shadowbox... So go to
http://www.mjijackson.com/shadowbox/doc/download.html "Download Code"
and go to "shadowbox-2.0-code/src/skin" and copy the "classic" folder
to your server. Then m
Hi roryreiff,
maybe you store the title-attribut from the current element in a
variable and add it when the tooltip hides.
If this doesn't work try to set the title in the rel-attribut:
rel="shadowbox;title='Hallo'"
On 10 Mrz., 18:25, roryreiff wrote:
> Hi there,
>
> I am using the tooltip plu
Just something I would like to add:
if you now say: e.altKey doesn't work!!
it is right... but will be fixed in the next release of jQuery, see:
http://dev.jquery.com/ticket/2947
On 11 Sep., 22:10, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Just do something like this:
>
> $(document).click
Is the gif visible when you try to get it's height?
If not try this:
var height = $('#wait_also').css("visibility", "visible").height();
$('#wait_also').css("visibility", "hidden");
On 12 Sep., 12:23, Kevin Thorpe <[EMAIL PROTECTED]> wrote:
> Sorry, this is very simple I think but I can't fathom
You have to include mootools at first and jquery at least:
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
On 14 Sep., 20:41, Lukas Polak <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I have a question. I'm using jquery on my pages and js files are linked
> like this:
> http://code.jquery.
$(".myClass").each(function() {
// this = DOM Element => $(this) = jQuery Object
});
On 17 Sep., 13:55, shapper <[EMAIL PROTECTED]> wrote:
> Hello,
>
> How can I find all elements in a page given a class and pass to a
> function?
>
> Or maybe better, how to I create a function that acts like a
$(".stripes dt").click(function(){
$(this).find("dd").toggle("slow");
});
On 19 Sep., 05:24, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> This is probably a noob question but...
>
> I have a bunch of definition lists on a page with the same class so
> that I can stripe every other in the l
Hmm.. maybe you should read the documentation of jQuery..
Do you mean something like this?
$(".iframe").attr({ "rel": "highslide-iframe", "href": "my-new-
url.html" }).removeClass("iframe");
http://docs.jquery.com/Attributes/attr
On 21 Sep., 19:12, Andrea - Aosta <[EMAIL PROTECTED]> wrote:
> I
Maybe you are looking for the $().filter() function:
http://docs.jquery.com/Traversing/filter#fn
I don't know if this is working:
$("a[class^='myclass']").filter(function() {
return /(myclass)[1-9]\d/.test(this.className);
}).each(function() {
// do something here
});
On 23 Sep., 05:13, je
replace this:
var hash;
if (document.location.hash)
var hash = (document.location.hash).charAt(1);
with:
var hash;
if (document.location.hash)
hash = document.location.hash.slice(1);
Maybe you want slice(1) because charAt(1) only returns 1 character and
slice(1) would return the hole hash wit
why did you opened a new thread?
http://groups.google.com/group/jquery-en/browse_thread/thread/19990a95620ccf3a
On 23 Sep., 13:55, MorningZ <[EMAIL PROTECTED]> wrote:
> There is no RegEx in selectors, they are CSS-selector based
>
> as for your particular selection, you can use the "StartsWith"
The smallest thing would be:
$("#message")[0].value += window.opener.location.href;
On 23 Sep., 15:09, Stinhambo <[EMAIL PROTECTED]> wrote:
> I managed to achieve what I wanted with this -
>
> document.getElementById('message').value +=
> window.opener.location.href;
>
> in the jquery file but I
Here just a little example how you can do this:
// index.htm
...
$("#autocomplete").autocomplete("search.php");
...
// search.php
that's all.
On 24 Sep., 09:53, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> You can't query a MySQL database from JavaScript. There has to be some
> serverside
I can't see any problems with that script.
What do you think is wrong with it?
On 25 Sep., 06:02, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hello!
>
> Sorry for the n00b post, but i've come to a dead end. I'm trying to
> write an ajax callback to a Ruby script that does a simple database
http://nettuts.com/javascript-ajax/learn-how-to-create-a-jquery-plugin/
On 28 Sep., 08:51, sabrinax <[EMAIL PROTECTED]> wrote:
> I'm trying to build a site that allows the elements on a page to be
> perfectly centered (horizontally/vertically). When the user resizes
> the window, I want the elem
$("#fruits option:selected").get(0).index
On 28 Sep., 08:33, GARIL <[EMAIL PROTECTED]> wrote:
> Thank you. What's the code if I want the index of the selected item?
>
> On Sep 28, 12:53 am, Alex Weber <[EMAIL PROTECTED]> wrote:
>
> > $('#fruits').val()
>
> > On Sep 28, 2:12 am, GARIL <[EMAIL PROT
$("li:not(:has(a))").click( ... );
would be the shortest!
On 28 Sep., 05:06, Dave Methvin <[EMAIL PROTECTED]> wrote:
> > Attach a click event to:
> > List item without link
>
> > Do not attach click event to:
> > Link 1
>
> How about this?
>
> $("li").not($("li:has(a)")).click( ... )
Maybe:
<%
Response.Write("true");
%>
On 28 Sep., 16:29, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> I don't know anything about ASP.net, but all it needs to output is
> "true" for valid values, "false" for invalids - the response is parsed
> with dataType:"json".
>
> Jörn
>
> PS: Please put
You don't need .val() just: $(this).attr("alt")
Please write some more code, because at the moment I think it is all
right.
On 28 Sep., 17:21, SeanJA <[EMAIL PROTECTED]> wrote:
> $(".status_actions img").click(function(){
> console.log("clicked!");
> console.log($(this).attr("alt"
Yeah, jQuery UI has something similar.
Look at this: http://ui.jquery.com/repository/real-world/layout/
On 28 Sep., 15:40, uncle <[EMAIL PROTECTED]> wrote:
> I am using this script that is based on prototype for some portal
> capability
>
> -http://blog.xilinus.com/2007/8/26/prototype-portal-clas
No, he wants to get all LIs WITHOUT an A as child.
On 28 Sep., 16:14, k3liutZu <[EMAIL PROTECTED]> wrote:
> Or
>
> $("#LHNav a").parent('li').click(...);
>
> On Sep 28, 3:38 pm, BB <[EMAIL PROTECTED]> wrote:
>
> > $("li:not(:has(a))
Hmm... maybe you should use some plain Javascript:
$("p")[0].firstChild;
A bit extended:
$("p").each(function() {
console.log( this.firstChild );
});
would log all the texts from the Ps but not the texts inside the SPAN.
Maybe this helps...
On 28 Sep., 21:51, [EMAIL PROTECTED] wrote:
> Dea
Ah I have found something:
$("p").contents();
I would prefer the useage of this like the following:
$("p").each(function() {
console.log( $(this).contents()[0] );
// with plain javascript:
console.log( this.firstChild );
});
On 28 Sep., 21:56, MorningZ <[EMAIL PROTECTED]> wrote:
> that w
Have you read this?
http://groups.google.com/group/jquery-en/browse_thread/thread/f10ca8823c2b0ef4#msg_ce5f8fc1e0cce52f
On 28 Sep., 22:28, [EMAIL PROTECTED] wrote:
> Dear sir my solution was wrong I could not work with the CLone of a
> ... so it's a dead case
> in your solution I will lose the
Hi,
look here at the bottom:
http://docs.jquery.com/Selectors
you may try something like this:
var id = 'sec_ruler_widget_seclevel\\[' + checkElementId + '\\]';
var pic = $('#' + id)[0];
On 29 Sep., 15:03, Misha <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am a newbie here so maybe my problem is not
Try this:
$("#query").load('content.cgi', {storeselect: store, deptselect:dept,
invoiceselect: invoice}, function() {
$("#loading").toggle();
});
On 29 Sep., 23:03, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I know what your saying, but my javascript skills are not that great.
>
> I've c
Here is a nice plugin: http://demos.flesler.com/jquery/scrollTo/
On 30 Sep., 09:05, elvisparsley <[EMAIL PROTECTED]> wrote:
> I am wondering how can I do like this,
> http://davidwalsh.name/dw-content/smooth-scroll.php,
> with jquery.
>
> What I want to do is that a smooth move when I click an
An ID has to be uniq so you can just do that:
$("#headline").html();
On 30 Sep., 15:40, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've build the following array using all the element in this.parent
> which have a class '.RepeatedItemElement' :
>
> this.elements = $(".RepeatedItemE
Try this:
$('.rowContent').click(function(){
var row = this;
$.get("getCountryContent.cfm", { u: row.id }, function(data){
// this == the options for this ajax request
var $conteudo = trim12( data );
alert("Data Loaded: " + $conteudo);
$( '#' + row.id ).append( $conteudo );
}
Try this:
full jQuery
$("a.ctrl_s").bind("click",function() {saveForm( $
(this).next().attr("id") );});
would get the element after the "A" => "FORM" then get its id
On 30 Sep., 11:02, Bruce MacKay <[EMAIL PROTECTED]> wrote:
> Hello folks,
>
> I have a page containing a number of forms e.g.
>
>
You can do that with $( html )!
var $table = $("").append("");
now you can do other things with the "virtuall"
$table.find("tr#2").append("Hello World");
On 1 Okt., 11:46, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> What is the equivalent of document.createElement in jQuery ? I
The syntax of this function is wrong!
$("#div_id").animate({ opacity:1.9 }, 1200);
http://docs.jquery.com/Effects/animate#paramsdurationeasingcallback
On 2 Okt., 08:51, Amardeep <[EMAIL PROTECTED]> wrote:
> sorry for my mistake .. yes its JSON
> i was using this :
> $('#div_id').show('animate',
$("#c").val(); would be the best and fastest!
On 2 Okt., 10:38, Pedram <[EMAIL PROTECTED]> wrote:
> Dear folk
> consider the Below HTML Code
>
>
>
>
>
>
>
> I would like to have Input selecter
> there are some ways which one has more speed and it is efficient
>
> 1- $("div#a p#b :tex
ECTED]> wrote:
> how could we say this cause the Engine must search all the Document to
> Find the #C
>
> On Oct 2, 12:24 pm, BB <[EMAIL PROTECTED]> wrote:
>
> > $("#c").val(); would be the best and fastest!
>
> > On 2 Okt., 10:38, Pedram <[EM
Look at this:
http://ui.jquery.com/repository/latest/demos/functional/#ui.slider
this demo is really simple. here are the docs:
http://docs.jquery.com/UI/Slider
On 2 Okt., 11:48, hcvitto <[EMAIL PROTECTED]> wrote:
> hi
> i've searched around fot a while but couldn't find any slider that
> suits
I'm sure that:
alert();
should work! Maybe the error is before the alert() and so it maybe
won't be executed.
Another way to debug is to use Firefox, download firebug-extension
(https://addons.mozilla.org/de/firefox/addon/1843) an then wirte some
console.log() functions in your code. Now you will
$(".RepeatedItem:not(.RepeatedItemSelected)")
On 2 Okt., 11:57, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I can't figure out what the syntax is to select all the elements which
> have a given class but not another given class.
> Example : I want all the elements with class .Repeate
Why do you include jQuery twice?
On 2 Okt., 14:27, surya <[EMAIL PROTECTED]> wrote:
> Thanks for ur reply,
>
> I also came to know that alert is working. I wrote the following
> code but unable to locate the place of error. Could anyone have a look
> at this one and suggest if any changes
Try this:
$(".overlay-div").hover(function() {
$(this).fadeTo("fast", 0);
}, function() {
$(this).fadeTo("fast", 0.6);
});
On 2 Okt., 09:13, christianslater <[EMAIL PROTECTED]>
wrote:
> hi there,
> I`m really new to Javascript and looking for a solution to highlight
> images. So there are sma
Dublicate:
http://groups.google.com/group/jquery-en/browse_thread/thread/59f9004ca99cab3b
On 2 Okt., 11:33, christianslater <[EMAIL PROTECTED]>
wrote:
> hi there,
> I`m really new to Javascript and looking for a solution to highlight
> images. So there are small thumbs on the page with an black o
Why not use CSS?
position:absolute;
On 2 Okt., 10:16, Flavio333 <[EMAIL PROTECTED]> wrote:
> Hello,
> I am a first time JQuery user, and was wondering how would I go about
> getting an element, say a php page that I loaded into a small block on my
> html page... now when I scroll up, down, left o
Du hast das schon richtig erkannt: "Geht aber nicht, da append wohl
ein vollständiges Element erwartet..."
also musst du alles in einem string schreiben:
$("#container").append('');
wenn du aber immer 2 unterschiedliche bilder haben willst und die
neuen nicht einfach untendrunter gehängt werden
If I press "g" FF wants to search for "g" so prevent the default
behaviour! (sry for my english I think the last word is wrong :))
Nice game!!!
On 3 Okt., 00:11, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> a true piece of nostalgia.
>
> Snakey now also works in IE6.
>
>
>
> I was using ff3 and s
gt; I removed that one but it is of no use.
> The code i had written above is used for oscommerce admin panel
> customers.
>
> I tried all possible ways. But the error is coming.
> Can you please help me out in solving this problem?
>
> On Oct 2, 5:44 pm, BB <[EMAIL PROTECTED
All AJAX shortcuts, such as:
.get()
.post()
.getScript()
.getJSON()
all uses the .ajax() function.
But the most settings of these functions are allready defined.
Look at the jQuery code:
return jQuery.ajax({
type: "GET",
url: url,
data: data,
success: callback,
dataType: type
});
so if
Try:
$j(".is_preferred_email").each(
function(i) {
this.checked = false;
}
);
or as the posts before:
$j(".is_preferred_email").attr("checked", false);
On 6 Okt., 16:04, sydneyos <[EMAIL PROTECTED]> wrote:
> Thanks for your input. Here is
Yes, because it is not in the $(document).ready(function() { ... });,
so it would be executed before the dom is ready.
so just write the $("a").click(function(){ ... }); in the $
(document).ready(function() { ... });.
$(document).ready(function() {
$("a").click(function(){
alert("clicked!")
I think this should be the right method:
http://docs.jquery.com/Plugins/Validation/valid
$("#support").click(function(){
if($("#myform").valid()) {
alert("123");
}
});
On 8 Okt., 09:31, IDEO <[EMAIL PROTECTED]> wrote:
> Here I have a form... the validation works great on keyup and submit
Try:
$("#tabs > ul").tabs( "add", "url/index.htm", "label" ).tabs("select",
$("#tabs > ul").tabs("length"));
On 8 Okt., 11:06, fleabo <[EMAIL PROTECTED]> wrote:
> I'm using the UI Tabs (very nice).
>
> I need to create a new remote tab and then select it, however the only
> way I can see reading
Hi,
this would be the right selector for you:
$("a").filter(function() { return !$
(this).parent("div.pages").length; });
gets all "A"s and then filter the "A"s out wich have a "DIV" with the
class "pages" as parents.
On 8 Okt., 09:18, -LsV- <[EMAIL PROTECTED]> wrote:
> Hi..
>
> Im trying to fi
Maybe you want to do this with plain Javascript:
$("#mydiv")[0].firstChild
or:
$("#mydiv").contents()[0];
but .contents() get all childNodes from every element:
$(".myclass").contents() would get the contents of every matched
element (not like .html() wich only returns the innerHTML of the first
I would do it like that:
Select All Deselect All
Item 1
Item 2
Item 3
Item 4
Select All Deselect All
Item 1
Item 2
Item 3
Item 4
and the js:
$(document).ready(function() {
$(".selectAll").click(function() {
Read this:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F
I think that is your problem.
On 9 Okt., 19:44, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi all,
> i am a beginner with javascript and finally found out how to drag the
> co
Yes, you can "unhook"/unbind all events with .unbind() or just remove
the .click() with .unbind("click").
See here:
http://docs.jquery.com/Events/unbind#typedata
On 11 Okt., 14:41, XeroXer <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I am making a effect that when you click a image the large image is
> o
Try:
$('input').bind("change keyup", function() {
alert('you changed or typed something');
alert('Input ID:' + this.id); // or $(this).attr("id")
});
On 19 Okt., 21:26, "Ronn Ross" <[EMAIL PROTECTED]> wrote:
> Dave,
>
> Thank you that worked great. Is there away to find out what specific ele
Try:
$(".blah").click(function () {
$(".block").fadeIn("slow", function() {
window.location.href = "foo.html";
});
});
On 20 Okt., 11:03, Awesome <[EMAIL PROTECTED]> wrote:
> Is it possible to redirect the browser to a separate page after a
> jQuery function?
>
> For example:
>
> $(".bla
You have to extend the defaults before you are doing something with
these:
$.fn.testFrame = function(options) {
var defaults = {
urlSuffix: '',
iframe: 'body'
};
options = $.extend(defaults, options);
On 27 Oct, 07:57, Nic Hubbard <[EMAIL PROTECTED]> wrote:
> I h
Try:
$(".u:last > li:last").addClass("last");
On 28 Okt., 13:07, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi everyone,
>
> I have a question on JQuery selector. I want to add a class, last,
> into li elements where have comment next to
> it under different ul but have the same class "u"
The timeout option is to set the time you are waiting for the response
not for a delayed ajax call!
On Oct 30, 8:29 am, wesca <[EMAIL PROTECTED]> wrote:
> Is jQuery possibility to use $.ajax post webservice and return some
> data with both Properties timeout and async:false ?
>
> I try to set tim
60 matches
Mail list logo