I'll add one more thing to this - I also tried using onActivate to
override the data I'm sending, like this:
var dataToSend = "initialValue";
$('#id_preview_link').cluetip(
{
ajaxSettings: {dataType:'html',
type:'POST',
onActivate: function(e) { dataToSend
if use a ajax call,it's like this:
$.ajax({
type: "POST",
url: "some.php",
data: "name=John&location=Boston",
success: function(data){
$("table").append(data);
$("table").trigger("update");...
}
});
hope helps.
You will get the fastest load time by building an HTML string and inserting
it. In a test case I wrote for the jQuery Cookbook, I got a *60X* faster
load time with a 1000-row table by using an HTML string instead of building
up the table with jQuery's DOM functions. You won't see that dramatic an
i
Thanks for your reply.
unfortunately I don't understand what you mean. Could you please
explain it to me.
The rjs looks like
page.replace_html :content, :partial => "list", :locals => { :elements
=> @elements }
and the call I want to make is
jQuery('.scrolling_table').tablesorter({ sortList: [
This I know. This does not fulfill my requirement
Mahen
On Sep 18, 9:59 pm, lanxiazhi wrote:
> $.ajax({
> type: "POST",
> url: "some.php",
> data: "name=John&location=Boston",
> success: function(msg){
> alert( "Data Saved: " + msg );
> }
> });http://docs.jquery.com/Ajax/j
As far as I know,there is not such method.
but when the data come back through rjs,then you append it to the div,just
do one more thing:
$("table").trigger("update");
Woah, I just noticed (2 minutes after my reply) this post:
http://brandonaaron.net/blog/2009/05/12/jquery-edge-bind-with-a-different-this
That says in 1.3.3 that currentTarget will be normalised cross-browser
too.
On Sep 19, 7:00 am, Philipp wrote:
> Hi,
>
> I got a problem using the following
The event you get from jQuery handlers is normalised. CurrentTarget is
just "this" in the function.
mouseover(event){
alert(this.id);
}
On Sep 19, 7:00 am, Philipp wrote:
> Hi,
>
> I got a problem using the following code:
>
> $j = jQuery.noConflict();
> $j(document).ready(function(){
>
$.ajax({
type: "POST",
url: "some.php",
data: "name=John&location=Boston",
success: function(msg){
alert( "Data Saved: " + msg );
}
});
http://docs.jquery.com/Ajax/jQuery.ajax#options
Hello guys,
is there a way to catch when a div content is updated through
javascript?
I update a div content through rjs and I need to call tablesorter
every time the div is updated.
Thanks and have a nice weekend.
Sig
Hi Sarah,
Not sure what's causing that issue, but one workaround is to set the
leftOffset option to 30 or so:
$('span.tooltip[title]').cluetip({
splitTitle: '|',
arrows: true,
dropShadow: false,
cluetipClass: 'jtip',
leftOffset: 30
});
(you don't need position: 'auto'
Hi,
Can someone help me with a simple requirement. I want to use AJAX
where the response from server side would be an XML with root element
has two divs one for status with values success or failure and other
child is HTML which needs to replaced if first div is success. eg.
Success
Number of
I'd like to trap for a field going from invalid to valid.
something like,
onchange: function(){
alert('Yay, the field is valid and you can follow instructions');
}
Is there something in the plugin that I can use to intercept this?
thanks!
huh? You lost me there.
On Sep 17, 5:55 pm, lanxiazhi wrote:
> you code defined when to enable,disable a button/field,so add the code
> there.
Most likely, they added a handler for the click event and thus can
cancel the copy keyup events anywhere in the page. Lok through your
javascripts for keypress, keyup, keydown keywords that would clue you
to where this is being cancelled out.
On Sep 18, 4:53 pm, amtames wrote:
> Hi,
>
> We rece
Is it acceptable to assume that Event Handlers are excecuted in the
order they are bound? I just wanted to hear what peoples thoughts
were on this. Lets say I have two plugins which both bind an event
handler to the form submit event. In order for them to co-exist, one
of the event handlers wou
Any indication with what the error/is other than "having trouble"?
I've been using coding with this plugin the past few days and haven't
had any issue setting that date
On Sep 18, 4:12 pm, Jason wrote:
> I am attempting to use the jQuery Countdown plugin
> fromhttp://keith-wood.name/countdow
Hi,
We recently had our site redeveloped by a professional firm. We
originally requested that users not be able to copy and paste text
from our site. This has created an outcry and we would like to have
text be selectable. I see that they achieved this by using jquery
which I am not familiar. I b
I am trying to use quicksearch on tables that have input boxes in each
of the and have found that the quicksearch does not
search the values of each of those input boxes. Does anyone know a
way to get quicksearch to include the input boxes?
Thanks
Hey all.
I found an interesting bug in IE8 today. See http://gomaroon.missouristate.edu
for an example.
We're animating a very wide div (for example, click on the Digital
wallpaper section, and there's a div with an id of
"NormalWallpaperContainer" that includes thumbnails of wallpapers).
The pr
I am attempting to use the jQuery Countdown plugin from
http://keith-wood.name/countdown.html, and i'm having trouble setting
the values to count down until. Any guidance would be greatly
appreciated.
$(function () {
var austDay = new Date();
austDay = new Date(austDay.getFullYea
Hi,
I got a problem using the following code:
$j = jQuery.noConflict();
$j(document).ready(function(){
$j('tr').mouseover(function(event) {
if (!event.currentTarget) {
alert('current target not given!');
return false;
I am using the cluetip plugin to show a formatted version of text that
the user types into a text area. So I have a , and as the user types, they can at any time click a
"preview" button will call cluetip to display the popup. Here is my
current cluetip call:
$('#id_preview_link').cluetip(
{
Hi:
If you're still interested in the solution of the autocomplete
encoding, I suggest you to visit this link:
http://www.autonecrologia.net/?p=422
My English isn't very well but I think you understand me
Bye
On 25 ago, 07:41, Adriano Varoli Piazza wrote:
> On 24 ago, 17:46, Adriano Varoli P
I am having the same exact problem but I can't find the answer anywhere.
Have you found a solution?
--
View this message in context:
http://www.nabble.com/MultiFile-plugin-taking-no-parameters-tp23823347s27240p25513614.html
Sent from the jQuery General Discussion mailing list archive at Nabble.
I'm trying to get jcarousel to display a google reader feed that
aggregates several feeds into a category label, but it's not working
correctly. I thought it had something to do with the URL encoding of
the link because the script works fine with other single feed links.
Any help greatly appreci
So the question is: how would I detect this? Can this be achieved with
jQuery as part of the .support function? (Sorry, the documentation at:
http://docs.jquery.com/Utilities/jQuery.support still leaves me what
to do with this function, as there are no examples :Z ).
Thanks,
L
On Sep 18, 5:01 pm
Yes - you're bang on. Well observed ;]
L
On Sep 18, 4:47 pm, "ryan.j" wrote:
> > comes to supporting CSS correctly. What exactly do you mean by
> > "negative vertical span margins"?
>
> i'd hazard a guess he meant something along the lines of...
>
> span { margin: -12px 0 0 0; }
>
> On Sep 17,
"updating the values of the pulldown menu ounce the user have choosen
a date from the Jquery datepicker"
Something like this should work
in the datepicker include
onSelect: updateLinked
then (change as needed for your pull down ids)
// Update three select controls to match a date picker s
I tweaked the regular expression just a bit, but your example was a
huge help. Now IE and FF behave the same way. Thanks so much!
On Sep 17, 7:20 pm, MorningZ wrote:
> While this is totally off the top of my head (especially the Regular
> Expression), it might help put you on the path
>
> $
Hello,
I am trying to get/set only text of list only element text value.
But for some reason I can not select it in clear way.
List something like:
Here text that I want to modify
i don't want modify this
i don't want modify this
Any suggestion?
Thanks in advance.
Hi,
I'm trying to add some keyboard navigation to an existing page.
The page has links one for 'Next' and one for 'Previous'
I've already gotten the keypress bits working properly, my next
problem is the .click() method.
Here's the code called by the keypresses:
$("a:contains('Previous')").cl
I've looked through all the 'better' tutorials online, and I've even
found other users trying to replicate what cnn.com had done with the
top right module titled 'video'.
All I really need the carousel to do is display the dots and not any
numbers or arrows, but all of my attempts have caused fai
Okay I still see the problem with that.
I need to get the color without currently hovering over it.
I did a test where I set an onclick event to return the color of the
link.
It returns the hover color when your mouse is over but not when you
don't.
$('.testMe a').click(function(){
alert($(thi
The data parameter is optional (note the very faint square brackets around
it on the doc page), so that isn't the problem.
The problem, as it is so often, is 'this':
var soffset = $(this).offset();
In the working code, 'this' is the #myinfo element.
In the broken code, 'this' is the #mycontent
On Thu, Sep 17, 2009 at 12:56:01PM -0400, brian wrote:
>
> Are you sure that this.href is not complete? I suspect it is and that
> the problem is that you're appending a URL that contains a query
> string to another query string. So, the various params are being mixed
> up with each other. You sh
2009/9/18 ryan.j :
>
>> comes to supporting CSS correctly. What exactly do you mean by
>> "negative vertical span margins"?
>
> i'd hazard a guess he meant something along the lines of...
>
> span { margin: -12px 0 0 0; }
>
That's what was confusing me. Opera handles negative margins perfectly
we
On Thu, Sep 17, 2009 at 9:53 AM, ldexterldesign
wrote:
> browser and serve up a load of new CSS. Opera doesn't support negative
> vertical span margins, so I'm gonna have to reduce the font-size of
> some text.
And there you have a focus: You don't want to detect Opera, you want
to detect whethe
you can't run CKFinder without a backend server.
http://ckfinder.com/download
Where do you store uploaded photos?
You need to store those photos at the server via back end language.
On Sep 18, 8:19 pm, Donny Kurnia wrote:
> Rama Vadakattu wrote:
> > Can any one please recommend a powerful WYSI
> comes to supporting CSS correctly. What exactly do you mean by
> "negative vertical span margins"?
i'd hazard a guess he meant something along the lines of...
span { margin: -12px 0 0 0; }
On Sep 17, 3:18 pm, Nick Fitzsimons wrote:
> 2009/9/17 ldexterldesign :
>
>
>
> > Thanks for your respo
Rama Vadakattu wrote:
Can any one please recommend a powerful WYSIWYG (commercial/open
source) editor which has a image upload capability.
I have been looking for it since morning but could not able to find
it.
I found CKeditor+CKFinder , but CKFinder is not available in django/
python langua
Can any one please recommend a powerful WYSIWYG (commercial/open
source) editor which has a image upload capability.
I have been looking for it since morning but could not able to find
it.
I found CKeditor+CKFinder , but CKFinder is not available in django/
python language. I tried to port to d
For some reason when I dynamically create an unordered list I am
unable to get at it through the DOM right away. Here is my code:
var buildNavi = function(){
var naviTemplate ='PreviousNext';
var naviCont = $("")
.css({'position' : 'absolute', 'top' : gHeight-50})
.append(
> I downloaded the plugin from plugins.jquery.com
>
> The available release there is 2.14.
>
> Hence the confusion and wasted effort :(
>
> Thank you for the plugin. Upgraded it and it works fine.
Sorry about the wasted effort, Viraj. I thought I had updated that
page long ago, but apparently I
Hey Steffan
I'm glad you like it. I used to go with the "full" carousel version
just for this feature, but then I looked into the code and found that
it could be acomplished using only 3 lines of code or so. I posted it
on Ganeshjis website hoping that he will include it in his official
release.
Just wondering from an efficiency standpoint:
I am building a widget out of javascript and so there is a lot of
HTML. Am I better off creating it as a string, then append() it into
the document, or should I build the widget itself using append() and
other related helper functions?
I am trying to use getJson to get json response from a remote site,
the remote site expects Accept : application/json.
Some how all my requests when observed using firebug shows Accept : */
*
I also tried the exmaple http://docs.jquery.com/Ajax/jQuery.getJSON
Although it returns json data , but th
Thank you Mike.
I downloaded the plugin from plugins.jquery.com
The available release there is 2.14.
Hence the confusion and wasted effort :(
Thank you for the plugin. Upgraded it and it works fine.
Regards,
Viraj
On Sep 18, 5:45 pm, Mike Alsup wrote:
> > I am using blockUI(2.14) in one of
Wrong syntax? Please explain.
I try to use this instruction found on http://www.visualjquery.com/:
jQuery(expression, context)
> The core functionality of jQuery centers around this function. Everything in
> jQuery is based upon this, or uses this in some way. The most basic use of
> this fun
on 9/18/09 5:30 AM, dudal at jes...@dudal.com wrote:
>
> Hi Steffan
>
> I had the same problem and came up with the following modification:
> http://www.dudal.com/jquery/jquery.jcarousellite.pauseOnHover.js (not
> minified)
>
> Example config (notice pauseOnHover):
> $('#selector').jCarouselLi
It's been a while since I've looked at either TinyMCE or FCKEditor (now
CKEditor) but non of the WYSIWYG editors based on the browser can do what
Hogsmill wants.
In order to paste an image from the clipboard, you'll need something that
can also upload the image to the server on the paste operation.
Have you thought of using a rich text editor to do this such as
TinyMCE and FCKEditor - they both have paste from clipboard
functionality
On Fri, Sep 18, 2009 at 11:12 AM, Hogsmill wrote:
>
> This may or may not be possible, but if anyone knows a way to do it,
> I'd love to hear from you.
>
> Ba
It is odd, I just tried in FF and it works fine, I've been testing in
Google Chrome and it's still not working there, may be cache issue. I
was driving myself crazy, thank you :-)
That's really odd. I don't recall having run across that problem before.
I just tested it out and had no problem:
http://plugins.learningjquery.com/cluetip/demo-more/temp.html
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Sep 18, 2009, at 8:37 AM, prince
> I am using blockUI(2.14) in one of my projects.
>
> A few days back, I upgraded to IE8 and the site stopped working. On
> debugging, I found the issue to be in blockUI plugin.
>
> Apparently, the reason seems to be that the plugin uses dynamic
> functions like setExpression which are not support
This is what I have in the head:
$(document).ready(function() {
$('a.tip1').cluetip();
$('a.tip2').cluetip();
$('a.tip3').cluetip();
});
In the body I have:
learn
more
learn
more
learn
more
It only loads the first tip, if I switch tip2 to the top where tip1 is
in the head it only load
Hi Steffan
I had the same problem and came up with the following modification:
http://www.dudal.com/jquery/jquery.jcarousellite.pauseOnHover.js (not
minified)
Example config (notice pauseOnHover):
$('#selector').jCarouselLite({
auto: 2000,
speed: 1500,
visible: 1,
The second argument for the load() function is "data", not "callback":
http://docs.jquery.com/Ajax/load#urldatacallback
Do this instead:
$("span#mycontent").load("mytext.txt", {}, function(){
// callback code here
});
-Dan
On Fri, Sep 18, 2009 at 5:51 AM, geegler wrote:
>
> How come this c
Hi there,
The only way I could find to do this with the $.get function was to
parse out the query string - the success callback should get a copy of
the options object which was used to set up the ajax request, but the
data parameter is NULL in this object for GET requests (it is populated
b
How come this code doesn't work?
$("span#myinfo").mouseover(function(){
$("span#mycontent").load("mytext.txt",function(){
var soffset = $(this).offset();
var stop = soffset.top;
var ihgt = $("div#footer").css("height");
var mtop = $("div#mydiv").css("top");
--
What would be another
way of clearly identifying an object without the id?
you can specify almost any attribute to identify a object.
like this:
!...@#$%^&+_)(*
and use
$("[identif...@#$%^&+_)(*]")
to fetch the element!
this :
var elem = $('#section_news', data);
is not the right syntax.
I think this is not possible,because the browser won't let you access the
clipboard for security concerns.
but ,you may provide a facility,that can read image from an url given by the
user,and display it.also allow user to upload images.that would be enough.
you may request the a.php directly in the browser ,and see if the charactors
display correctly.
2009/9/18 David .Wu
>
> it's not work actually.
>
> On 9月18日, 下午6時19分, lanxiazhi wrote:
> > Now you will need to change the header:
> > header('Content-Type: text/xml; charset=UTF-8');
>
On 27 Lip, 17:07, TCoakley wrote:
> I was able to get this to work perfectly by removing the dataType. It
> ran my success function and parsed as XML. Is this a bug?
Hi... I also run into that problem and the solution was the page
you're requesting HAS to return a Content-type: text/xml header
o
it's not work actually.
On 9月18日, 下午6時19分, lanxiazhi wrote:
> Now you will need to change the header:
> header('Content-Type: text/xml; charset=UTF-8');
Bump.
On Sep 16, 9:53 pm, "nirazue...@gmail.com"
wrote:
> Thank you.
> Can you think up with a solution to this? How can I "detect" when the
> call is begin terminated?
>
> On Sep 14, 5:32 pm, MiKiTiE wrote:
>
> > Probably because you're sending the data to the url, but stopping the
> > process
I think what you want is this:
$(this).parent().parent().*find*(":checkbox.list")
Hi,
I need help adding the jquery date picker to my existing code, but
not
reconstructing the whole HTML file.
my code,
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";>
calenar
http://ajax.googleapis.com/ajax/libs/jquery/
Now you will need to change the header:
header('Content-Type: text/xml; charset=UTF-8');
This may or may not be possible, but if anyone knows a way to do it,
I'd love to hear from you.
Basically, I simply (?) want to copy an image (e.g. from ALT-Print
Screen or 'Copy Image'), and paste/drop it into an img tag on a page
so it appears on the page. I can then resize, drag-drop, etc. as
Ahh, wonderful! I hadn't thought of them as dialogs, but the JQuery UI
Dialog widget indeed seems to provide all I need here.
Thanks all for the suggestions!
Ron
On Sep 17, 10:38 pm, Karl Swedberg wrote:
> Someone correct me if I'm wrong, but I think jQuery UI Dialog allows
> for multiple di
hi all. i'm new here and i hope posting in right place. I'd like to
ask if and how I can add multicombined selectors like:
$(this).parent().parent().$("input:checkbox[class='list']").attr
('checked')
I know that the $("input:checkbox[ppb='list']") isn't right but i just
want to show you what i wa
Try jquery-ui,it contains a dialog widget.
Hello
Im a beginner in jquery and search for a solution to display a overlay-
Window. (ModalDialog, ModalPopup)
I found the jdialog-extension:
http://www.gimiti.com/kltan/demo/jDialog/1.1/test.html
Looks very good, but i can't declare the overlay-content in a separate
file.
Instead i like to de
Hi All,
I am using blockUI(2.14) in one of my projects.
A few days back, I upgraded to IE8 and the site stopped working. On
debugging, I found the issue to be in blockUI plugin.
Apparently, the reason seems to be that the plugin uses dynamic
functions like setExpression which are not supported
Hi,
I would really appreciate any reply/comments. Looking forward to
hearing from you.
Thanks.
Regards,
Christian
On Sep 14, 10:34 am, csetzkorn wrote:
> Hi,
>
> I am struggling a bit with this. I am using the 'jQuery BlockUI
> Plugin' and the 'BabySteps' plugin (http://blog.vokle.com/index.
Thanks for your reply.
Does this not gives problems when I have an AJAX request with a
timeout after say 2 seconds, but in the meantime there's another
request using the same variable? Or is the sentData only accessible in
the click( function(){ } ) scope?
There is no other way of getting th
A friend helped me solve the problem. I had to recall the tooltip
function in the response, I couldn't use load, so i switched to the
$.ajax method
$.ajax({
url: url,
cache: false,
dataType: "html",
success: function(response){
var html = $(response
79 matches
Mail list logo