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" wrote:
> I am using utf-8 too.
>
> On 9月18日, 下午2時27分, Steven Yang wrote:
>
> > I think you might have to check t
I am using utf-8 too.
On 9月18日, 下午2時27分, Steven Yang 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 wrote:
>
> > But I got one more question
> >http
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 wrote:
>
> But I got one more question
> http://www.google.com/ig/api?hl=zh-tw&weather=Changhua
> This is the weather
But I got one more question
http://www.google.com/ig/api?hl=zh-tw&weather=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" wrote:
> terrific!!! thanks a lot
>
> On 9月17日, 下午5
terrific!!! thanks a lot
On 9月17日, 下午5時57分, lanxiazhi wrote:
> specify content type to xml:
>
> header("Content-type: text/xml");
> if ($_GET['weather']) {
> ...
Hi all,
I'm using a modified autocomplete from
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
and am having some issues using the onItemSelect option. It works, but
seems to be calling the function once when autocomplete is called to
during $(document).ready.
In the code below, focusF
or extend clueTip..
if no better solution out there,implement one yourself, it seems not so
complicated.
you code defined when to enable,disable a button/field,so add the code
there.
I think that,you won't need to sort by a image,neither the user will.It
makes no sense.just add class="{sorter: false}" to the th in thead.
You might be able to use the show, hide and destroy methods here to make
sticky tooltips:
http://craigsworks.com/projects/qtip/docs/api/
but I don't think there's support for dragging. I used this library
recently and found it to be solid across browsers, FYI.
- Jack
rvdb wrote:
Hi,
I'm
@MorningZ:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
On Sep 17, 5:01 pm, MorningZ wrote:
> Which plugin do you speak of? that would be a huge help for others to
> help you
>
> On Sep 17, 7:42 pm, Loony2nz wrote:
>
> > I'd like to trap for a field going from invalid to val
Which plugin do you speak of? that would be a huge help for others to
help you
On Sep 17, 7:42 pm, Loony2nz wrote:
> 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');
>
>
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!
While this is totally off the top of my head (especially the Regular
Expression), it might help put you on the path
$.tablesorter.addParser({
id: "color",
is: function(s) {
return false;
},
format: function(s) {
var hit = s.match(/\/(\w+
I am using Tablesorter to work with a simple table, but have come
across an interesting difference in how it works between browsers.
One of my columns looks like this:
Row 1
img src="http://dssweb/apdashboard/images/Green.png";
class="client_status" title="1. UAT testing Sept 09"
Row 2
img src=
Unfortunately, in my case it turned out to be something different
(initializing the cluetips multiple times by mistake). Under firefox
it's now working for me even on newly exposed hidden tabs.
-- Yermo
http://www.formvista.com
On Sep 16, 12:24 pm, "Sarah B." wrote:
> I am using the clueTip pl
I am having the same problem here. Initially I thought it might just
be using cluetip with the jquery.ui tabs control, however I have been
able to reproduce it by simply including a cluetip in a hidden
container. In this case none of the cluetips on the page work. Remove
the hidden container and
Need help to reposition buttons to a particular DIV within a pageBreak
and Table.
Right now, it's simply placing the buttons under the table.
Can anyone help me figure this out?
Erik
function setButtons(pageBreak){
for (var i = 0; i < pageBreak.pages.length; i++) {
Someone correct me if I'm wrong, but I think jQuery UI Dialog allows
for multiple dialogs open at a time. You might be able to get these to
work the way you want.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Sep 17, 2009, at 11:49 AM, rvdb wrote:
Hi
On Thu, Sep 17, 2009 at 9:02 AM, Ben wrote:
>
> My question is if i used jquery post method to change some div
> content, than this new div won't have mouseover and mouseout affect
> anymore, is there anyway to achieve it. Is that needed to trigger
> ready function again?
>
Have a look at the li
Hi:
I added mouse in and mouse out affect like this in $
(document).ready function
$(document).ready(function(){
$(".StripMe tr").mouseover(function(){
$(this).addClass("over");
});
$(".StripMe tr").mouseout(function(){
Hi,
I'm trying to find a tooltip solution that allows for the display of
HTML elements as tooltips, with following specific behaviours:
-tooltips popup on mouseover; disappear on mouseout
-tooltips can be made sticky + draggable on click, and can be closed
with a 'close' link
The first requi
I explain...
I try to load only a part of my data file (named Elements.html).
It will load all the data file with
var elem = $('#section_news', data);
Here is my code
$.get("Elements.html", function(data){
// get id section_news for the receive data
var elem = $('#section_news', data);
I explain...
I try to load only a part of my data file (named Elements.html).
It will load all the data file with
var elem = $(data);
I am unable to load only a section of this file if I use
var elem = $('#section_news', data);
Could you please help me find out what part of my code is inco
I explain...
I try to load only a part of my data file (named Elements.html).
It will load all the data file with
var elem = $('#section_news', data);
I am unable to load only a section of this file if I use
var elem = $('#section_news', data);
Could you please help me find out what part o
"Clearly $("#aq-1234") is not"
WHY?
Hi Karl:
That clears it up completely. Thanks!
Charlie
On Thu, Sep 17, 2009 at 10:43 AM, Karl Swedberg wrote:
> Hey Charlie,
> It all comes down to the way the string is parsed. The Sizzle selector
> engine uses a Regular Expression to detect whether an attribute selector is
> being used:
>
>
Hey Charlie,
It all comes down to the way the string is parsed. The Sizzle selector
engine uses a Regular Expression to detect whether an attribute
selector is being used:
ATTR: /\[\s*((?:[\w\u00c0-\u_-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)
\3|)\s*\]/,
The parts of the regex that deal
I would assume because you are forcing the matched jQuery collection to be a
Raw DOM object with .get(0) it then becomes the context when you go to do
the find().
On Thu, Sep 17, 2009 at 4:39 AM, eskimoblood wrote:
>
> Why is the context of this one the document:
> $('div.layer').find(':checkbox
The REST service requires custom authorization headers, parameters and
various methods (GET, PUT, POST, and DELETE) which is why I can't just
pass a URL.
The earlier solution was better for this.
On Sep 17, 5:33 am, DBJDBJ wrote:
> var myRESTurl = "..." ;
>
> $.ajax({
> ...
> complete:
http://docs.jquery.com/Effects/fadeTo
On Thu, Sep 17, 2009 at 12:43 PM, Dave Maharaj :: WidePixels.com <
d...@widepixels.com> wrote:
> I am trying to build a simple little effect when a user checks /
> un-checks a checkbox a specific div will fade in or out depending on the
> check state. I foun
On Wed, Sep 16, 2009 at 11:19 PM, benji++ wrote:
>
> It seems that I've answered my own question… I realized that, as
> Jeffrey Kretz mentioned, I needed to rely on Flash to do the PDF
So you solved the problem of requiring a PDF plugin on the client by
requiring a Flash plugin on the client?
-
Since you're talking about modifying the core jQuery file itself, you
might want to pose the question on the jquery-dev Google Group instead.
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Sep 17, 2009, at 9:49 AM, Nico wrote:
I just try a little change
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 urlencode the href before appending it
as a query string.
On
I am trying to build a simple little effect when a user checks / un-checks a
checkbox a specific div will fade in or out depending on the check state. I
found lots of examples using toggle but I do not want to completely hide the
div, only fade it to 50% or back to 100%
Ideas anyone?
Thanks
D
Hi Karl:
Hate to hijack the thread, but hopefully it's somewhat relevant to the
original post.
When I suggested the single quotes around the value 'bar', I was going off
of what I saw in the docs at
http://docs.jquery.com/Selectors/attributeEquals#attributevalue
And the code sample:
$("input[nam
I am adding a lightbox script that has images for the buttons. I will
want to use this script in more than one location, so I want to put
the scripts and the images in a central location. The script calls for
the images to be in the same folder that is calling the script, and I
want the images to
On Thu, Sep 17, 2009 at 11:28 AM, Steffan A. Cline wrote:
>
> I was peaking around on the W3C site to see if I could find a clear
> definition of which characters are allowed within an ID.
>
http://www.w3.org/TR/html4/types.html#h-6.2
"
ID and NAME tokens must begin with a letter ([A-Za-z]) and m
On Sep 17, 2009, at 5:13 AM, Charlie Griefer wrote:
Pretty sure you need single quotes around bar.
alert($("input[name='bar']").val());
No. The single quotes are unnecessary.
On Thu, Sep 17, 2009 at 1:27 AM, pritisolanki
wrote:
Thanks Ralph.
I tried following
alert($("input[name=bar
I've encountered a minor but annoying bug in jCarousel.
1. Go to http://sorgalla.com/projects/jcarousel/examples/dynamic_javascript.html
2. Double click the right arrow button.
3. Notice some of the images and middle section get the selection
"highlight".
It's almost not noticeable in this simpl
Thanks for prompting me to go back into my CSS and overhaul it. I've
solved the issue and now have consistency across all modern browsers
(that not including IE7 of course, which I'll see to with conditional
comments). Many thanks for your help guys.
This still leaves the issue of targeting brows
I was peaking around on the W3C site to see if I could find a clear
definition of which characters are allowed within an ID.
The problem is that I have a series of divs that have id="aq-1234" "cd-456"
etc. I have no real control over the - in the name. What would be another
way of clearly identif
I have the following function defined:
$(function () {
$('a[href*=http:]').click(function() {
open('/redirect.php?where=' + this.href); return false;
});
});
When the href has only one GET parameter it works as expected however
when there is more than one GET parameter it passes
I have a problem with the validation plugin when I add a new
validation method in IE8, when I submit the form it just validate the
added method but the other fields are submitted anyway.
Also I have another problem with the valid() function, when I try to
see if the function is true to show a co
2009/9/17 ldexterldesign :
>
> Thanks for your responses guys. I actually need to detect the Opera
> 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.
>
As a general rule, Opera is one of the m
BTW, has anyone got an example of how to use jQuery.support to detect
Opera? The doc support on http://docs.jquery.com/Utilities/jQuery.support
is awful for this type of thing if it IS possible.
Thanks,
L
On Sep 17, 12:20 pm, Brett Ritter wrote:
> On Thu, Sep 17, 2009 at 7:02 AM, ldexterldesign
Cheers Brett. I'll check out your recommendation.
L
On Sep 17, 12:20 pm, Brett Ritter wrote:
> On Thu, Sep 17, 2009 at 7:02 AM, ldexterldesign
>
> wrote:
> > I wondered if anyone would be kind enough to point me in the direction
> > of a good browser detection script/plug-in/tool? I've heard/r
Thanks for your responses guys. I actually need to detect the Opera
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.
I don't know of a 'hack' to target Opera 10, so JS is the only way to
go. I can
I just try a little change in jQuery source code, that made it well,
and I met no bugs :
In the jQuery.fn.init method, I just added the line :
this.constructor = jQuery;
This way, all jQuery objects have a "constructor" property and it
equals jQuery
Any arguments against this ?
Nico
Hi,
When I create a jQuery Object, it's known by javascript as an object,
and it behaves like a function.
In some cases, I have to check if a variable is a jQuery object or
not.
Usually, to check a variable type, I use the "constructor" property
(when I can't use typeof, which is not accurate).
2009/9/17 Flamer :
>
> Hello,
>
> Is it possible to access the data arguments that are sent with the
> ajax function?
>
> Example:
> $('#mycheckbox').click( function() {
> $.get( '/ajax.php', { nr: this.id }, function( data, textStatus ) {
> // Here I want to access the argum
Christof Donat wrote:
Hi,
I'm trying to unsubscribe from this mailinglist and from the developer
mailinglist. It seems, that I need a google account for that. Actually I wasn't
planing to create a new account just to unsubscribe from two mailinglists. Is
there another way?
Christof
just
Need help to reposition buttons to a particular DIV within a pageBreak
and Table.
Right now, it's simply placing the buttons under the table.
Can anyone help me figure this out?
Erik
function setButtons(pageBreak){
for (var i = 0; i < pageBreak.pages.length; i++) {
Hello,
Is it possible to access the data arguments that are sent with the
ajax function?
Example:
$('#mycheckbox').click( function() {
$.get( '/ajax.php', { nr: this.id }, function( data, textStatus ) {
// Here I want to access the arguments I just sent with ajax.php
i looked throw the docu, but couldnt find anything.
the only thread i found was this one:
http://stackoverflow.com/questions/363268/how-do-remove-jquery-validation-from-a-form
but i dont want to remove it, i just want to deactivate the validating
for a period of time, when data is set
greets
On
Hi!
Thank you, Joel for Superfish!
I have now programmed a parser that is able to put a "menu string"
into the required HTML-format for superfish / suckerfish.
E. g., if you want to change your menu quite often or have different
versions of it (e. g. different languages), with my little php-too
If you can always look into making javascript work for you. In your
case :
function creator ( $container, opts )
{
$container.append("") ;
var $a = $container.find(":last").find("a") ;
$a.attr( "href", opts.href
Hi,
I'm trying to unsubscribe from this mailinglist and from the developer
mailinglist. It seems, that I need a google account for that. Actually I wasn't
planing to create a new account just to unsubscribe from two mailinglists. Is
there another way?
Christof
Thank you for your quick response, I really appreciate if you
implement it in a new version.
In the meantime I have done exactly what you advised.
Keep on doing your great job for the community !
On 16 Sep., 18:17, Jack Killpatrick wrote:
> I like that, will definitely consider it for the next
http://www.sastgroup.com/jquery/240-plugins-jquery
http://www.sastgroup.com/jquery/240-plugins-jquery
always *first* try to find a jquery pluging which does the job for
you ...
hi mike
if i change the 'this' to SocialSite.Home.UserInfo then i get the error
SocialSite.Home.UserInfo is undefined
code
options : {beforeSubmit: SocialSite.Home.UserInfo.friendRequest,
success: SocialSite.Home.UserInfo.friendResponse
},
On Wed, Sep 16, 2009
Hi
I would like to do the following
I have a big header image and on there specific places i want to have a few
easing bouncing images that bounce a few times and then they stay n place
and optionally it would be nice if I could repeat this after a specified
amount of time
so om my header image
var myRESTurl = "..." ;
$.ajax({
...
complete: function(xhr, status) {
alert("OK!");
$( document.body ).append("") ;
}
...
}) ;
Since you are testing REST end point reply, which returns "text/xml"
mime type, you can assign it to IFRAME src. In all browsers
AFAIK $.broswer is not the way to go in latest jQuery is simply because
browser sniffing is not recommended and not the jQuery way of getting things
work cross all browsers.and not that because $.browser has problem itself
it really depend on why you need to know the different browsers. jQuery
rec
On Thu, Sep 17, 2009 at 7:02 AM, ldexterldesign
wrote:
> I wondered if anyone would be kind enough to point me in the direction
> of a good browser detection script/plug-in/tool? I've heard/read
> jQuery.browser isn't the way to go with the latest jQuery (v.1.3.2).
.browser() still works, the re
Is conditional comments in the header my only way out of this?
ldexterldesign wrote:
> Easy guys,
>
> I wondered if anyone would be kind enough to point me in the direction
> of a good browser detection script/plug-in/tool? I've heard/read
> jQuery.browser isn't the way to go with the latest jQue
Easy guys,
I wondered if anyone would be kind enough to point me in the direction
of a good browser detection script/plug-in/tool? I've heard/read
jQuery.browser isn't the way to go with the latest jQuery (v.1.3.2).
The cause really doesn't warrant setting it up server-side if I'm
honest.
Thank
Yes.
On Sep 17, 5:59 am, jeanluca wrote:
> does that also work in IE(6) ?
>
> > That did it. I was using success which did not provide access to the
> > xml as a string I could output, but complete works great. Thanks! Now
> > I cane easily get the text, the HTTP Response code.
>
> > > Try hooki
Hey,
Hoping someone can help me with a superfish menu I'm working on
deploying;
http://www.purehousemusic.net/superfish-1.4.8/example.php
My problem is that in IE6 and 7 the upper menu underlaps the lower
menu, I've tweaked the CDD z-indexes a bit to no avail and am just
wondering if there's a si
Hi there,
I am using the media plugin and it works fine and is a lovely plugin
to have but i encountered a few problems where i needed to alter the
js so i could be able to play certain file flv, mp4, mp3 as it could
not be played. It looks like using my flash player it could not play
flv and mp3
does that also work in IE(6) ?
On Sep 17, 12:43 am, Jonathan wrote:
> That did it. I was using success which did not provide access to the
> xml as a string I could output, but complete works great. Thanks! Now
> I cane easily get the text, the HTTP Response code.
>
> On Sep 16, 1:32 pm, Mike Al
specify content type to xml:
header("Content-type: text/xml");
if ($_GET['weather']) {
...
works great thanks or your help here is the final code incase anyone
wants something like this
Html
jquery
$(document).ready(function(){
var url=document.URL;
var title=document.title;
$('#s
Pretty sure you need single quotes around bar.
alert($("input[name='bar']").val());
On Thu, Sep 17, 2009 at 1:27 AM, pritisolanki wrote:
>
> Thanks Ralph.
>
> I tried following
>
> alert($("input[name=bar]").val());
>
> and rather then showing it's value it alert undefined ??? why?
>
> I am so
Thanks for help
but I fail to reset my all forms :-(
$("#reset").click(function() {
$("form").each(function() {
$(this).reset();
});
});
also, I changed id="form" to id="frm1".
On Sep 17, 2:01 am, KeeganWatkins wrote:
> @Dhruva-
>
> >> It should be $(this).reset();
>
>
Why is the context of this one the document:
$('div.layer').find(':checkbox') or $('div.layer').eq(0).find
(':checkbox')
and at this the div.layer
$($('div.layer').get(0)).find(':checkbox')
Thanks Ralph.
I tried following
alert($("input[name=bar]").val());
and rather then showing it's value it alert undefined ??? why?
I am sorry if this is very basic question.
On Sep 16, 4:11 pm, Ralph Whitbeck wrote:
> Take out the @ in your attribute selectors. The @ was depricated in jQue
BUMP, anyone ??
On Sep 10, 11:52 pm, Canadaka wrote:
> thanks for the response, I'm not sure how I can use live()
> Here is a snippit of the javascript in question.
>
>
> test a>
>
> http://ajax.googleapis.com/ajax/
> libs/jquery/1.3.2/jquery.min.js">
>
>
80 matches
Mail list logo