terrific!!! thanks a lot
On 9月17日, 下午5時57分, lanxiazhi lanxia...@gmail.com wrote:
specify content type to xml:
header(Content-type: text/xml);
if ($_GET['weather']) {
...
But I got one more question
http://www.google.com/ig/api?hl=zh-twweather=Changhua
This is the weather condition that response by my language, and the
value become garbage characters exclude English, any solution?
On 9月18日, 下午2時06分, David .Wu chan1...@gmail.com wrote:
terrific!!! thanks a lot
I think you might have to check the encoding that google is usingI think
google should be using UTF-8. check the encoding on your side.
On Fri, Sep 18, 2009 at 2:11 PM, David .Wu chan1...@gmail.com wrote:
But I got one more question
http://www.google.com/ig/api?hl=zh-twweather=Changhua
This
I am using utf-8 too.
On 9月18日, 下午2時27分, Steven Yang kenshin...@gmail.com wrote:
I think you might have to check the encoding that google is usingI think
google should be using UTF-8. check the encoding on your side.
On Fri, Sep 18, 2009 at 2:11 PM, David .Wu chan1...@gmail.com wrote:
But
As the matter of fact, I execute the weather.php like weather.php?
weather=1
and the character was right, so the problem is happend when ajax
delivery.
On 9月18日, 下午2時39分, David .Wu chan1...@gmail.com wrote:
I am using utf-8 too.
On 9月18日, 下午2時27分, Steven Yang kenshin...@gmail.com wrote:
I
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 =
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
Hi,
I would really appreciate any reply/comments. Looking forward to
hearing from you.
Thanks.
Regards,
Christian
On Sep 14, 10:34 am, csetzkorn c.setzk...@liv.ac.uk wrote:
Hi,
I am struggling a bit with this. I am using the 'jQuery BlockUI
Plugin' and the 'BabySteps' plugin
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
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
Try jquery-ui,it contains a dialog widget.
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 want
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 k...@englishrules.com wrote:
Someone correct me if I'm wrong, but I think jQuery UI Dialog
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
Now you will need to change the header:
header('Content-Type: text/xml; charset=UTF-8');
Hi,
I need help adding the jquery date picker to my existing code, but
not
reconstructing the whole HTML file.
my code,
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
head
I think what you want is this:
$(this).parent().parent().*find*(:checkbox.list)
Bump.
On Sep 16, 9:53 pm, nirazue...@gmail.com 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 mikiji...@googlemail.com wrote:
Probably because you're sending the data to the
it's not work actually.
On 9月18日, 下午6時19分, lanxiazhi lanxia...@gmail.com wrote:
Now you will need to change the header:
header('Content-Type: text/xml; charset=UTF-8');
On 27 Lip, 17:07, TCoakley ebun...@gmail.com 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:
you may request the a.php directly in the browser ,and see if the charactors
display correctly.
2009/9/18 David .Wu chan1...@gmail.com
it's not work actually.
On 9月18日, 下午6時19分, lanxiazhi lanxia...@gmail.com wrote:
Now you will need to change the header:
header('Content-Type: text/xml;
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.
this :
var elem = $('#section_news', data);
is not the right syntax.
--
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:
div identify='!...@#$%^+_)(*'!...@#$%^+_)(*/div
and use
$([identif...@#$%^+_)(*])
to fetch the element!
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);
var mhgt
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
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 jkp_fb_st...@myvws.net 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').jCarouselLite({
auto: 2000,
speed: 1500,
visible: 1,
This is what I have in the head:
script type=text/javascript
$(document).ready(function() {
$('a.tip1').cluetip();
$('a.tip2').cluetip();
$('a.tip3').cluetip();
});
/script
In the body I have:
a class=tip1 href=# title=Host Team rel=mylink1.htmllearn
more/a
a class=tip2 href=#
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 in
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
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 :-)
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 i...@hogsmill.com wrote:
This may or may not be possible, but if anyone knows a way to do it,
I'd love to hear
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
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').jCarouselLite({
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
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 mal...@gmail.com wrote:
I am using
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
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?
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.
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 did
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 ='li class=preva href=#
title=PreviousPrevious/a/li/lili class=nexta href=#
title=NextNext/a/li';
var
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
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
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 n...@nickfitz.co.uk wrote:
2009/9/17 ldexterldesign
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 donnykur...@gmail.com wrote:
Rama Vadakattu wrote:
Can any one please
On Thu, Sep 17, 2009 at 9:53 AM, ldexterldesign
m...@ldexterldesign.co.uk 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,
2009/9/18 ryan.j ryan.joyce...@googlemail.com:
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
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 should
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
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.
script type=text/javascript
$('.testMe
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:
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
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:
ul
li id=myid Here text that I want to modify
ul
li id=dfdfi don't want modify this/li
li id=dfdfi don't want modify this/li
/ul
/li
ul
Any
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
Yes - you're bang on. Well observed ;]
L
On Sep 18, 4:47 pm, ryan.j ryan.joyce...@googlemail.com 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;
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
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
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
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 mora...@gmail.com wrote:
On 24 ago, 17:46,
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 textarea
id=description, 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:
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 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
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
I am trying to use quicksearch on tables that have input boxes in each
of the table td 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
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
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 stonesoupandboiledfr...@gmail.com wrote:
I am attempting to use the jQuery Countdown plugin
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
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 matt.a...@tnmed.org
huh? You lost me there.
On Sep 17, 5:55 pm, lanxiazhi lanxia...@gmail.com wrote:
you code defined when to enable,disable a button/field,so add the code
there.
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!
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.
root
div
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:
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
$.ajax({
type: POST,
url: some.php,
data: name=Johnlocation=Boston,
success: function(msg){
alert( Data Saved: + msg );
}
});
http://docs.jquery.com/Ajax/jQuery.ajax#options
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 philipp.ma...@googlemail.com wrote:
Hi,
I got a problem using the following code:
$j = jQuery.noConflict();
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 philipp.ma...@googlemail.com wrote:
Hi,
I got a
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);
This I know. This does not fulfill my requirement
Mahen
On Sep 18, 9:59 pm, lanxiazhi lanxia...@gmail.com wrote:
$.ajax({
type: POST,
url: some.php,
data: name=Johnlocation=Boston,
success: function(msg){
alert( Data Saved: + msg );
}
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:
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
if use a ajax call,it's like this:
$.ajax({
type: POST,
url: some.php,
data: name=Johnlocation=Boston,
success: function(data){
$(table).append(data);
$(table).trigger(update);...
}
});
hope helps.
I'll add one more thing to this - I also tried using onActivate to
override the data I'm sending, like this:
script
var dataToSend = initialValue;
$('#id_preview_link').cluetip(
{
ajaxSettings: {dataType:'html',
type:'POST',
onActivate: function(e) {
83 matches
Mail list logo