[jQuery] Selection from a list should rewrite the page.

2010-02-23 Thread David Parker
I'm building a select from a java Resultset for a given userID. Where the value for the options are a recordD for each record in the Resultset. On loading of the page, it gets a userID and recordD from session. If recordD=null then it uses the first record from the Resultset. So the select conta

[jQuery] Cycle 2.75 - containerResize not working if image isn't direct child of container

2010-02-10 Thread David Winter
Say I have: $(function() { $('.slideshow').cycle(); }); My caption My caption I'd like for the container to resize to the largest child size, bu

[jQuery] FCKEditor Plugin and Validation Plugin

2010-01-30 Thread David .Wu
http://www.fyneworks.com/jquery/FCKEditor/ The FCKEditor home page mentioned it support the Validation Plugin, but when I use both of it, but even I type many words on the textarea which replaced by the FCKEditor via FCKEditor Plugin, it's always shows the error message that the field is empty, ho

Re: [jQuery] Find text. Is this possible with JQuery?

2010-01-19 Thread David Statler
If you're talking about simple find & replace, you can do it with javascript. http://www.w3schools.com/jsref/jsref_replace.asp On Tue, Jan 19, 2010 at 2:38 PM, shapper wrote: > Hello, > > Is it possible with JQuery to find all words "xyz" in a text and > replace it by "xyz"? > > Thanks, > Mig

Re: [jQuery] Re: jQuery 1.4 change event problem

2010-01-19 Thread David Statler
I made a quick mock up of this to try to find the problem. As you have both stated, the problem only occurs in IE (I only tried it on IE6). However, I rewrote the following and this works on IE6. The problem seems to occur when you add selected="selected" to the second option value. http://www.w3

[jQuery] jQuery 1.4 cross domain post bug?

2010-01-15 Thread David P
I have a webservice sitting on my https server that accepts the POST verb and responds with some JSON. If I build a simple html form like https://myserver.com/myWS";> it will return the correct json data, with content type "application/ json", and the browser will ask to save the result. When

[jQuery] I saw the post out at Klaus Hartl's blog. (see below) And it is very close to the question that I have.

2010-01-14 Thread David Parker
sing? If someone has a functional site with this type of navigation I would be interested is seeing the HTML. Sincerely David Parker Advisor Notes <% String context = request.getContextPath(); %> $(function(){ $('#an_tabs').tabs

[jQuery] AJAX calls timeout

2010-01-13 Thread David
Hi, I had a problem with an AJAX post call. The problem was, some times it returned data, and some times it didn't. It had nothing to do with domain server crossing, nor server errors, as it some times worked and some times it doesn't. What I found was, it worked most of the times in a high band

[jQuery] Latest JQuery File

2009-12-23 Thread David Matchoulian
Dear jQuery Guys, I downloaded the latest file, and when i opened it in dreamweaver and scrolled through the code i noticed that half the code is colored blue, that is half the code is considered "string", i tryed to fix it myself but i didn't since i was afraid that i might ruin the code. What is

[jQuery] Wrap question

2009-12-20 Thread David .Wu
I want to make a div become 12346789 This is my solution, but I want to ask for better one. /** * Wrap Table */ (function() { $.fn.dramaWrapTable = function($obj) { var $tbl = '12346789'; return this.each(function() {

[jQuery] customize uplodify

2009-12-16 Thread David .Wu
http://www.uploadify.com/ This is the best jQuery upload plugin I ever used, I want to add one function when upload jQuery(queue).append('\ \ . .. I add a input field in it's js code, and I hope the value will be send with the file when

Re: [jQuery] FadeOut > Ajax Post > FadeIn problem

2009-12-12 Thread David Day
Oops! Make that... otherwise you get nested divs. $("#menuJ a").click(function(){ var js = $(this); $("#pageArticle").fadeOut(500, function() { $.post( js.attr("href"), null, function(response) { $("#pageArticle").html(response); $("#pageArticle").fadeIn(500); }, "html"); });

Re: [jQuery] FadeOut > Ajax Post > FadeIn problem

2009-12-12 Thread David Day
Thanks Brian The working script is as follows: $("#menuJ a").click(function(){ var js = $(this); $("#pageArticle").fadeOut(500, function() { $.post( js.attr("href"), null, function(response) { var bob = "" + response + ""; $("#pageArticle").html(bob); $("#pageArticle").f

[jQuery] jquery validator pugin question of validating 2 depending fields with remote validation (attached example)

2009-12-09 Thread david
ashington. I will have in both fields errors as washington is not in austria, so i change to vienna. then the city line is cleaned of errors, but the country line not. The problem is that the country validation should also be triggered by changing the city. Maybe i make errors in how using the validator. Is there another way to solve the problem ? Thanks, David

[jQuery] [validate] remote validations with two depending text boxes

2009-12-06 Thread david
textbox b shouldn't be empty. So i fill in the text-box a and the remote validation works, and an error message is shown. When afterward i fill an value in text-box b, the error message from textbox a does not go away, which is bad. What can i do ? Thanks , David

[jQuery] [validate] remote validation on empty field

2009-12-06 Thread david
default an empty field is not validated(this is a feature), but how may i force the plugin to make it ? Thanks, David

[jQuery] Ajax response back question

2009-12-01 Thread David .Wu
$(function() { $('li').each(function() { var $id = $(this).attr('id'); $.post('getImg.php', {id: $id}, function($data) { // How to do it? }); }); }); I want to let each li use ajax load their own image an

Re: [jQuery] Re: simple jquery form plugin question

2009-11-26 Thread David
Thank you very much Kelly! You solved my problem. On Thu, Nov 26, 2009 at 12:59 AM, Kelly wrote: > Hi David, > I was able to recreate the same problem and fixed it. Try this: > > > jQuery Form Plugin > > form { background: #DFEFFC; border: 5px solid #c5dbec; margin: 10

[jQuery] simple jquery form plugin question

2009-11-25 Thread David
is on the form's action. I expect to stay on the same page. any help is greatly appreciated. David jQuery Form Plugin form { background: #DFEFFC; border: 5px solid #c5dbec; margin: 10px 0; padding: 20px } <script type="text/javascript"> // wait for

[jQuery] Can't get image's dimension under a hidden object

2009-11-19 Thread David .Wu
1. $(window).load(function() { alert($('#img1').width()); }); 2. $(window).load(function() { alert($('#img2').width()); }); case 1 can get the dimension, but case 2 can't, how to get it?

[jQuery] Can't get the image width

2009-11-19 Thread David .Wu
1. alert($('#img1').width()); 2. alert($('#img2').width()); case 1 can get the width of the image, but case 2 will fail, how to solve this problem?

[jQuery] slider question

2009-11-18 Thread David .Wu
http://www.switchonthecode.com/tutorials/using-jquery-slider-to-scroll-a-div If use jQuery slider directly, the handle box will not fit the slider track but in that website, it's totally fit the slider, and I didn't see anything particular in his code how to do that?

[jQuery] AJAX post problem

2009-11-12 Thread David
Hi, I have a problem with an AJAX call. It's a long time since a got it. I don't know how to deal with it. I have made tests and I don't know why it's happening. I have a post AJAX call. Just like next one: $.post(MY_SCRIPT, { db_id: selected_data}, function(data){

[jQuery] Re: button value change

2009-11-12 Thread David pr
Thanks but this won't work for a ? David

[jQuery] Re: post AJAX no response

2009-11-12 Thread David
use a low band internet connection. When I used a high band connection the problem doesn't come up. The post callback function is never called. It only has to receive an XML document which is around 3/11 KBytes On 8 oct, 19:50, David wrote: > Hi Doug, > > yes, I am sure the data loads co

[jQuery] button value change

2009-11-11 Thread David pr
Hello, I had an More details $(this).text($(this).text() == 'More details' ? 'Hide details' : 'More details'); and on click I changed the text from more to hide I had to change the How do I change the value text on click ? David

[jQuery] Re: .hide and .show div's

2009-11-11 Thread David pr
Thank you all i've (you guys) crack it.

[jQuery] .hide and .show div's

2009-11-11 Thread David pr
ds how do I hide this div automatically ? I have used for (i = 0; i <= 70; i++) { $("div.Hide-BAT" + i).hide(); } But its slow and probably not the best way to do it ? Hope you can help and this makes sense. Regards David

[jQuery] licensing question

2009-10-29 Thread David Robertson
ingly. If it read "under either the MIT or GPL licenses" then you would have achieved the intent of your second sentence. Any chance you could change it? -David Robertson

[jQuery] Re: Secure login

2009-10-23 Thread David Cornish
only works if the server has access to the full user password; if only a hash of the password is stored, then this won't work David On Oct 22, 5:31 pm, Kovács Gábor wrote: > Hi all, > > I would like to implement a login functionality to my website. I've written > a login fo

[jQuery] jqueryui's sortable and Flash

2009-10-20 Thread David
Hi, I've spend an insane amount of time on this issue but can't find a solution, hopefully someone else has encountered (and solved) it. I've created a simple list, with a bunch of . One of the is actually a Flash object that has its own event handlers for mouse clicks. However, the jquery's

[jQuery] Re: Cycle plugin: centering images of variable width?

2009-10-18 Thread David Collins
Thanks for the reply, Mike. It never occurred to me to cycle something other than the actual image. I will take a look at this approach. -David

[jQuery] Cycle plugin: centering images of variable width?

2009-10-17 Thread David Collins
w? Should I get the img width and define the left position for each slide during the actual cycle function, or maybe during the "// reset common props before the next transition" section? Any help would be appreciated. Thanks, -David

[jQuery] FF "needs a moment" to calculate element width()

2009-10-17 Thread David Balažic
_content&modal=false', (this.rel || false),'/stuff/css');return false;" PopupboxNM /a (I removed brackets in case they give problems to mail/ web programs) Regards, David

[jQuery] Cycle plugin: using the addSlide option for multiple slideshows on the page?

2009-10-17 Thread David Collins
opts.addSlide(''); opts.addSlide(''); opts.addSlide(''); opts.addSlide(''); } }); slidesAdded = true; }; }); Any advice would be helpful as I am a javascript/jquery novice. Thanks! -David

[jQuery] How to check is the object with the css property?

2009-10-17 Thread David .Wu
$('div').each(function() { // How to know the div have position property or not? });

[jQuery] Re: AJAX & callbacks: load(); $.get() and $.post() do not

2009-10-14 Thread David
Hi, I have a related problem: http://groups.google.com/group/jquery-en/browse_thread/thread/faf44301f4a22535/537df7c5a5b124bf?lnk=gst&q=garcia.narbona#537df7c5a5b124bf I have just also found this: http://groups.google.com/group/jquery-en/browse_thread/thread/4c8e4ac00ee529d2# http://groups.goo

[jQuery] Re: post AJAX no response

2009-10-08 Thread David
sends the output. The point is this data does not get to the browser. Thanks Doug. On 8 oct, 20:45, "Knight, Doug" wrote: > Hi David, > Do you have your call inside a $(document).ready? It may be that in a high > bandwidth environment your data loads completely before your cal

[jQuery] post AJAX no response

2009-10-08 Thread David
Hi, I have a problem with an AJAX call. It's a long time since a got it. I don't know how to deal with it. I have made tests and I don't know why it's happening. I have a post AJAX call. Just like next one: $.post(MY_SCRIPT, { db_id: selected_data}, function(data){

[jQuery] Re: $.post cross domain first sends an OPTIONS verb?

2009-10-06 Thread David P
Were you able to find a solution to get it working in Firefox? Thank you david On Oct 1, 10:25 am, Vitaly Piven wrote: > Hello David, > > I have similar problem . $.post() sends some "OPTIONS" request instead > of expected "POST" (according to logs of web server

[jQuery] What's different from keyCode to which?

2009-10-06 Thread David .Wu
keyCode and which will get the same value, so anything different? $(function() { $(window).keydown(function(e) { console.log(e.keyCode); console.log(e.which); }); });

[jQuery] Slideshow inside "Accordian"

2009-10-04 Thread David Fung
Am I crazy to try this? I'm trying to see if I can put a slideshow (any type.. I'd like to maybe just use a slideUp/slideDown shuffle of photos onClick) in an accordian type navigation. Here's the page. Tell me if i'm crazy, I'm new. Thanks in advance. =) http://fromdavy.com/jtran/

[jQuery] How to print tag name

2009-09-29 Thread David .Wu
The code below show [ td ], can I got the tagName like "td"? 1 console.log($('table:first tr').find(':first-child'));

[jQuery] Re: How to combine event?

2009-09-27 Thread David .Wu
If I want to preload the image, I can use $('').attr('src', 'xxx.jpg'), how to proload cur file? On 9月25日, 下午9時22分, Karl Swedberg wrote: > Hi David, > > You can combine events with a space in the first argument   > of .bind(): .bind('type1 typ

[jQuery] Re: How to combine event?

2009-09-27 Thread David .Wu
fantastic On 9月25日, 下午9時22分, Karl Swedberg wrote: > Hi David, > > You can combine events with a space in the first argument   > of .bind(): .bind('type1 type2 type3', function(event) { /*do   > something*/}); > Pass the event object into the anonymous function

[jQuery] $.post cross domain first sends an OPTIONS verb?

2009-09-25 Thread David P
I use $.post like so: $.post("http://mydomain.com/some/webservice";, $.toJSON({ emailAddress: emailAddress }), callback, "json"); this works great..the response of the POST is a json string and that is used in the callback..now I added https: $.post("https://mydomain.com/some/webservice";, $.to

[jQuery] How to combine event?

2009-09-24 Thread David .Wu
event mousedown and mouseup and mouseout actually do the same thing, how to combine it? $('a#cursor') .css({cursor: 'url(hand.cur), default'}) .click(function() { return false; }) .mousedown(function() { $(this).css({cursor: 'url(grab.cur),

[jQuery] Re: Powerfull WYSIWYG editor with upload image capability

2009-09-19 Thread David D
You don't need to use ckfinker. Ckeditor 3 just needs an upload and a browse url. You can make them in your prefered language. David Op 18 sep 2009 5:53 PM schreef "Rama Vadakattu" : you can't run CKFinder without a backend server. http://ckfinder.com/download Where d

[jQuery] Re: ajax xml question

2009-09-19 Thread David .Wu
Yup, it will be correct, so weird, why does Google's character wrong. On 9月18日, 下午7時44分, lanxiazhi wrote: > you may request the a.php directly in the browser ,and see if the charactors > display correctly. > 2009/9/18 David .Wu > > > > > > > it's no

[jQuery] Re: ajax xml question

2009-09-18 Thread 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');

[jQuery] Re: ajax xml question

2009-09-17 Thread David .Wu
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 t

[jQuery] Re: ajax xml question

2009-09-17 Thread David .Wu
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

[jQuery] Re: ajax xml question

2009-09-17 Thread David .Wu
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

[jQuery] Re: ajax xml question

2009-09-17 Thread David .Wu
terrific!!! thanks a lot On 9月17日, 下午5時57分, lanxiazhi wrote: > specify content type to xml: > > header("Content-type: text/xml"); > if ($_GET['weather']) { > ...

[jQuery] ajax xml question

2009-09-16 Thread David .Wu
This is the source code that I want to get the weather from Google API, Firefox, Safari, Opera will work, but IE can't get the value, so I did some test, and I found the reason xml structure in php page $.get({"a.php"}, '', function() {}, "html"); // all browser work besides IE $.get({"a.php"}, '

[jQuery] Re: Changing the slider value programatically

2009-09-14 Thread David Garthe
Left this out accidentally: I have this on the modal box page being called: But this does not change the

[jQuery] Changing the slider value programatically

2009-09-14 Thread David Garthe
How do I reset a slider value after it has been declared from a calling page? I have a modal box, that has a form in it. I use this form to add/ edit items. Within that form, I have a slider from jquery UI. When I click on a link to bring up the modal box and EDIT data, I'm having trouble popu

[jQuery] Re: simpleModal question. PLEASE HELP!

2009-09-09 Thread David Garthe
Worked perfectly! Thanks Eric! On Sep 9, 2:28 pm, Eric Martin wrote: > David, > > The problem is being caused by the data you are trying to place in the > modal. You can fix it by wrapping the data in a div before using it in > the modal: > > $(document).ready(functio

[jQuery] simpleModal question. PLEASE HELP!

2009-09-09 Thread David Garthe
Hi, I hope someone is familiar with simpleModal. I'm trying to add some effects to the popup, but keep getting errors when I add my "onOpen" parameter. Here's my code. Thank! $(document).ready(function() { $('#create-user').click(function(e) { e.pr

[jQuery] Re: Ajax get contents question

2009-09-03 Thread David .Wu
it's funny that I can use find to get res2's html, why? filter res get res2 failed find res failed res2 get On 9月3日, 下午12時11分, "David .Wu" wrote: > This is my testing php code, I found if I use filter, I can only get > the content from first level of object, for exampl

[jQuery] Ajax get contents question

2009-09-02 Thread David .Wu
This is my testing php code, I found if I use filter, I can only get the content from first level of object, for example 12 I can get res's contents by filter, but I can't get res2's contents, is that possible that get any thing I want through ajax? 12'; exit; } ?> http://www.w3.org/199

[jQuery] save to pdf

2009-08-31 Thread David .Wu
Is there any plugin can let me save the part of pag as pdf?

[jQuery] Re: [validate] problem of defining custom rules

2009-08-25 Thread david
ction() { jQuery.validator.addClassRules("firstname", { required: true, minlength: 2 }); $("#commentForm").validate({ messages: { firstname: "Enter your firstname" } }); }); and the input is

[jQuery] Re: [validate] problem of defining custom rules

2009-08-25 Thread david
Thank you very much. On Aug 25, 8:59 am, Raju wrote: > try this , > > minlength="2" /> > > Warm Regards, > > Mari Raj K, > Bangalore > +91 9740765135 > > On Tue, Aug 25, 2009 at 11:26 AM, david wrote: > > > i played with the example.

[jQuery] Re: How to hide pop is blur

2009-08-13 Thread David .Wu
How to declare other thing? On 8月13日, 下午7時28分, Jon Banner wrote: > $('#show').click(function(){ >    $('#popup').fadeIn("slow", function(){ >       $(other things).click(function(){ >          $('#popup, #show').hide(); >       }); >  

[jQuery] How to hide pop is blur

2009-08-12 Thread David .Wu
There is a button control a div show or not, I want when you click other things then the div will disappear too exclude div itself and also the show button, how to do that? [html] . .. [JavaScript] $('#show').click(function(){ $('#popup').toggle(); });

[jQuery] How to get variable from iframe?

2009-08-10 Thread David .Wu
a.php .. var a = 123; Can I catch variable a in b.php?

[jQuery] Re: Ajax response attached file

2009-08-05 Thread David
window.location.href = "file_url"; It seemed to me the best solution. On 4 ago, 21:21, David wrote: > Would it be a proper solution to use a hidden iframe and set the 'src' > attribute with the file URL? That is, in the Post methodAJAXrequest, > in its callbac

[jQuery] Re: Ajax response attached file

2009-08-04 Thread David
Would it be a proper solution to use a hidden iframe and set the 'src' attribute with the file URL? That is, in the Post method AJAX request, in its callback function, set the attribute. On 4 ago, 20:12, elubin wrote: > Don't do it in ajax.  setup the link as a regular tag, and the > browser sh

[jQuery] Ajax response attached file

2009-08-04 Thread David
Hello, I am doing a Port AJAX request to a PHP script on the server side. This PHP makes a process and generates some files, which it compresses in a .zip file and send it back to the client. The point is I don't know how to manage the PHP zip in the Post ajax methos 'success' function so the us

[jQuery] Re: a select question

2009-08-03 Thread David .Wu
al Solutions, ibm.com > > Phone: 1-276-206-8393 > > E-mail: mjlaw...@us.ibm.com > > > 'Whether one believes in a religion or not, > > and whether one believes in rebirth or not, > > there isn't anyone who doesn't appreciate kindness and compassion..' >

[jQuery] Re: a select question

2009-08-03 Thread David .Wu
al Solutions, ibm.com > > Phone: 1-276-206-8393 > > E-mail: mjlaw...@us.ibm.com > > > 'Whether one believes in a religion or not, > > and whether one believes in rebirth or not, > > there isn't anyone who doesn't appreciate kindness and compassion..' >

[jQuery] a select question

2009-08-03 Thread David .Wu
if I have 3 div, how to filter the div without class abc?

[jQuery] Re: Does IE support live?

2009-08-03 Thread David .Wu
got it, I need to define it again after I use ajax, it will be more safe. On 7月31日, 下午3時25分, rupak mandal wrote: > hi David, you have to bind "jump" in load callback function. >  $(function() { >        $.ajaxSetup({ >                cache: false >        }); > >

[jQuery] Does IE support live?

2009-07-30 Thread David .Wu
If I load b.html in firefox, alert(1) will work, but ont work in IE. page a.html http://www.w3.org/1999/xhtml";> live $(function() { $.ajaxSetup({ cache: false }); $('#btn').click(function() { $('div:first').load('b.html');

[jQuery] What is the point of the "status" param to the "get" callback, if it's always "success"

2009-07-30 Thread David Karr
I'm just reading some basic JQuery information, and I noticed that the callback used by "get" always sends two parameters, the first being the relevant data, and the second is a "status" value, which is always the string "success". Looking at code samples on the web, I never saw anyone bother to

[jQuery] Re: fn question

2009-07-30 Thread David .Wu
quot;,"blue") won't work > for your 1st case but works for the 2nd one. > > On Jul 30, 3:14 pm, "David .Wu" wrote: > > > > > I found these both work, so what is return for? > > > > > $.fn.btnClick = function() { > >    

[jQuery] fn question

2009-07-29 Thread David .Wu
I found these both work, so what is return for? $.fn.btnClick = function() { this.click(function() { alert('test'); }); } $('input#btn').btnClick(); $.fn.btnClick = function() { return this.click(function() { alert('test'); });

[jQuery] Re: ajaxForm and validate plugin

2009-07-21 Thread David Parloir
hi András, I suppose that after 2 weeks you found a solution, but i was in the same situation and I was thinking "too bad there is no answer to that : (" So, now that I've found the solution, here it goes, for the next one. 1. i create the form's validation rules: $('#formId').validate({

[jQuery] Re: JSON form submit

2009-07-19 Thread David
If you are using JSON to construct your server request, why do you need a params order? I mean, in JSON format, you will have pairs detailing attribute name - attribute value, so you will always know which parameter are you dealing with. On 18 jul, 15:02, NightFox wrote: > Hello, > > I'm working

[jQuery] get height from hidden element

2009-07-17 Thread David
Hi, my problem is, when I try to get the height or any other graphic property of an element which is hidden (in my case, hidden in one jQuery UI tab), I can't manage to get the height of the element. If I do: $("#my_element").outerHeight() I get zero. Whereas If I do the same when the element i

[jQuery] dom to html

2009-07-14 Thread david
which takes a dom element and returns the html for example if i had a input filed a and i entered the value david, i want that the function will return On Jul 14, 3:05 am, Charlie wrote: > still not sure if this is 2 tables and exactly what you are trying to do, > david wrote:Dear Charlie,

[jQuery] Re: send table with input elements to server

2009-07-12 Thread david
Dear Charlie, I mean if i have a table and then i enter in a david and b michael i want at the end The same i want also for selected. Is there a way to make it ? Thanks, David On Jul 13, 12:02 am, Charlie wrote: > I think I confused myself and not sure what objective is...

[jQuery] send table with input elements to server

2009-07-12 Thread david
ut it does not pass the table with the html values inserted as i would like. Has anyone an idea how to make it ? Thanks, David

[jQuery] Can I catch the property of CSS filter?

2009-07-08 Thread David .Wu
the image is like $('img').css('filter') will get progid:DXImageTransform.Microsoft.AlphaImageLoader(src='aa.png') Can I get the aa.png directly?

[jQuery] documentation system for jquery

2009-07-07 Thread david
Hi all, I wanted to ask which system you use to produce the jquery documentation (core and plugins). Thanks, David

[jQuery] image resize issue

2009-06-29 Thread David .Wu
我今天有兩個放大縮小按鈕,想讓user按放大時用js把一個100x72的圖片 以寬為主每次加4px等比放大,反之亦然,但不知道小數位數該如何取才能正確控制高度 等比放大的公式為 I have two button to let user enlarge or reduce a 100px x 72px image immediately on the page, 4px enlarge or reduce one time by width, but I don't know how to control the height to make resize proportionally.

[jQuery] Re: getJSON parameter - long string

2009-06-26 Thread David Andrews
Hi, There is a byte limit (2048) on the size of a url set in the server configuration (I think specific t IIS but maybe apache too) , if you dont have access to change these you will have to use POST to submit your string. On 26 Jun 2009, at 11:07, saa...@gmail.com wrote: Hi I am try

[jQuery] Re: Autocomplete - trouble with getJSON callback function not executing?

2009-06-25 Thread David here
Thanks a bunch! Looks like my JSON data is not correctly formatted or wrapped in the callback function. Let me see if I can tweak it and see what happens. David > Date: Thu, 25 Jun 2009 16:24:54 -0700 > Subject: [jQuery] Re: Autocomplete - trouble with getJSON callback function

[jQuery] Re: getJSON flicker works but not mine -- URGENT HELP

2009-06-25 Thread David here
Thanks for the pointer, Etienne. After some more tweaks and research, it seems I have to wrap the JSON object in the call back function, like "jsonpx({json object}). Hope this works! > Date: Thu, 25 Jun 2009 21:19:17 -0400 > From: robillard.etie...@gmail.com > To: jquery-en@googlegroups.co

[jQuery] Looking for jQuery experts for Open-Source Social Annotation platform

2009-06-23 Thread David Nolen
ck or would like to contribute please don't hesitate to contact us. Thanks, David Nolen (Lead ShiftSpace Developer)

[jQuery] test post

2009-06-19 Thread David
test post

[jQuery] [Validate] showErrors does not update numberOfInvalids

2009-06-19 Thread David
Hello all, In general the plugin is great and I have a working solution using a global variable to keep track of invalids because of this problem in the library. Short description, in the validator method that I added, I am calling showErrors because the message needs to be dynamic. I call showE

[jQuery] Re: [validate] custom error messages from remote method

2009-06-16 Thread david
Thanks. "mir ist ein licht aufgegangen" On Jun 16, 10:57 am, Jörn Zaefferer wrote: > Nope, not anymore. The check is now more explicit: if (response === > true) { ... } else { displayError }, where before if was just if > (response) ... > > Jörn > > On Tue, Jun 1

[jQuery] Re: ajaxSetup and getJSON

2009-06-16 Thread david
Isn't it more a server side question ? I would suggest that you try in the browser location bar to generate the url (by hand) and see if there also the problem consists. If yes then you have first to solve it on the server side. I use in my scripts a session id which i pass through getjson as argu

[jQuery] [validate] custom error messages from remote method

2009-06-15 Thread david
evaluated as true ? Thanks in advance, David

[jQuery] Re: [validate] how to get ajax error messages from server till it is implemented in remote method

2009-06-15 Thread david
glecode.com/svn/trunk/plugins/validate/ > > Jörn > > On Mon, Jun 15, 2009 at 11:49 AM, david wrote: > > > Dear all, > > > I wanted to ask how it is possible to get error messages from the > > server till it is implemented in the remote method. > > What do you

[jQuery] Re: Tell me , Select option value

2009-06-15 Thread david
For alert : you must define on which event and then use the bind function: http://docs.jquery.com/Events/bind#examples On Jun 15, 2:33 pm, david wrote: > You mean the value of the radio button. > please take a look > athttp://snipplr.com/view/3372/radio-button-values-using-jquery/ &

[jQuery] Re: Tell me , Select option value

2009-06-15 Thread david
You mean the value of the radio button. please take a look at http://snipplr.com/view/3372/radio-button-values-using-jquery/ On Jun 15, 2:17 pm, bharani kumar wrote: > Hi all , > > Am little bit confusion in radio selection , > > My doubt is very simple , > > Having two radio button , > > alert

[jQuery] [validate] how to get ajax error messages from server till it is implemented in remote method

2009-06-15 Thread david
the plugin and the remote method ? I saw that there is a way of writing custom methods: http://groups.google.com/group/jquery-en/browse_thread/thread/e2eb52101bd1fc24/622654c57434966a?lnk=gst&q=[validate]+2+fields#622654c57434966a But how do i combine it with the ajax calls? Thanks, David

  1   2   3   4   5   6   7   >