Re: [jQuery] replaceWith bug in jQuery 1.4?

2010-01-20 Thread Evgeny Bobovik
This is not a bug, if u want to replace data contained on the element, you can use operator $(element).html('any html or text'); *Email: bobo...@gmail.com ICQ: 382081663 Skype: evgeny_bobovik Gk___*

Re: [jQuery] Possible jQuery 1.4 and jQuery UI 1.7.2 bug

2010-01-20 Thread Evgeny Bobovik
As I know, for each new jquery version released new jquery ui version, find jquery ui 1.8... *Email: bobo...@gmail.com ICQ: 382081663 Skype: evgeny_bobovik Gk___ *

[jQuery] Re: Some little Problems to extract data from ajax response ....

2009-10-22 Thread Evgeny Bobovik
I usually do so: By your page empty div: div id=temp style=display: none / div and use the following method: $.ajax({ url:'/index.php', type:'GET', success: function(data) { $('#temp').html(data); $('body').html($('#temp').html()); $('#temp').html(''); } }) Gk___

[jQuery] Re: html select to get value from mysql on change

2009-10-21 Thread Evgeny Bobovik
I can not say because of what is happening, but I can suggest a way how to deal with declare global variable: var cnt = 0; $(select:#stock).change(function() { var stock = $(select#stock).val(); if (cnt == 0){ cnt = 1;

[jQuery] Re: .html(data) in Select Box Not working

2009-10-20 Thread Evgeny Bobovik
May be IE don't understand your POST paranetres try to use this method $(document).ready(function(){ $(#place).change( function() { $.post(types.php,{ local: '' + $(#place).val() + '' },

[jQuery] Re: Difference with two ways to select elements?

2009-10-20 Thread Evgeny Bobovik
1: $(select[name^='start_me_']).val(0); - this method set value only in first founded selector, second method is most optimal to do what you want - this method found all elements matches your criteria. Gk___ Sent from Minsk, Belarus 2009/10/19 Morris Li morris...@gmail.com: Hi All I am

[jQuery] Re: jquery HTML file reading

2009-10-19 Thread Evgeny Bobovik
See example: $.ajax({ type: POST, url: SERVLET.do, data: id=1location=Minsk, success: function(msg){ //'msg' - is your returned html file $(document).html(msg); // this function replace your current page to returned page } }); Gk___ 2009/10/18 ajith...@gmail.com

[jQuery] Re: show/hide with embed

2009-10-16 Thread Evgeny Bobovik
Try to use this method: script type=text/javascript function showEmbed(){ if($(#test).css('display') == 'block'){ $(#test).css('display','none'); } else { $(#test).css('display', 'block'); } } /script Gk___ 2009/10/16 ngreenwood6 ngreenwo...@gmail.com:

[jQuery] Re: HELP!!! css content filters

2009-10-16 Thread Evgeny Bobovik
try to use this function script function test(){ var ind = 0; $('ul').find('li').each(function(){ if (ind == 2){ $(this).css('test_css'); ind = 0; }else{ ind++; } }); } /script Gk___ Sent from Minsk, Belarus 2009/10/16 huntspointer2009

[jQuery] Re: When mouse over then Fade transition Pause, Please help

2009-10-16 Thread Evgeny Bobovik
Try to use this code for mouse events processing $(.container).bind(mouseenter,function(){ Trans.pause(); }).bind(mouseleave,function(){ Trans.pause(); }); ... and replace your plugin code on this code: (function ($) { $.fn.fadeTransition = function(options) { var

[jQuery] Re: [autocomplete] Callback for selected match

2009-10-15 Thread Evgeny Bobovik
use the onchange event for select Gk___ 2009/10/14 eka ekagauranga...@gmail.com: Hi Is there anyway to pass a callback to the options to be called when an option is selected? Regards Eka

[jQuery] Re: Join element sets?

2009-10-15 Thread Evgeny Bobovik
try to do so $(.contentBox, .referencesImage).hover(function(event){ ..do something },function(event){ ..do something }); Gk___ 2009/10/15 Dennis Madsen den...@demaweb.dk: I would like to do something like:        

[jQuery] Re: Intelligence not working

2009-10-13 Thread Evgeny Bobovik
try to swap them: script src=JQuery/jquery-1.2.6.js type=text/javascript/script script src=JQuery/ui.core.js type=text/javascript/script script src=JQuery/ui.datepicker.js type=text/javascript/script script type=text/javascript $(document).ready(function() { alter(Working on Intelligence); } );

[jQuery] Re: append()

2009-10-13 Thread Evgeny Bobovik
use function insertAfter(); or insertBefore(); Gk___ 2009/10/13 Simon Morris moz...@gmail.com: Hello, I'm having some problems understanding the append() function. What I'd like to do is select an element using it's ID and add a row to the table with a HTML form element. The table

[jQuery] Re: What is the more correct/efficient selector?

2009-10-13 Thread Evgeny Bobovik
fist and second methods are correct? but this: $(select).change(function() { alert($(this).attr(value)); }); method will worked correctly in all browsers! Gk___ 2009/10/13 Mike mgor...@gmail.com: $(select).change(function() {            

[jQuery] Re: What is the more correct/efficient selector?

2009-10-13 Thread Evgeny Bobovik
Why not?? I think that this method is most correctly from all:) Gk___ 2009/10/13 MorningZ morni...@gmail.com: why not just use $(select).change(function() {       alert( $(this).val() ); }); On Oct 13, 11:06 am, Evgeny Bobovik bobo...@gmail.com wrote: fist and second methods

[jQuery] Re: jQuery Documentation for Visual Studio

2009-10-12 Thread Evgeny Bobovik
Try to use instead of the $ operator jQuery. for example: instead of $(document).ready(); write jQuery(document).ready(); Gk___ 2009/10/12 Paul rcmdk...@gmail.com: Hi, I have VS Express 2008 SP1 and Patch VS90SP1-KB958502-x86 installed. I can't get VS Intellisense to work for , jQuert

[jQuery] Re: no filenames list in multi-upload control

2009-10-12 Thread Evgeny Bobovik
Scripts script src=jquery-latest.js type=text/javascript language=javascript/script and script src=jquery.js type=text/javascript language=javascript/script is same. They may conflict with each other, look at the JavaScript console in your browser. Gk___ 2009/10/12 Jivanmukta

[jQuery] Re: [form] stop success message return if validation fails on server side

2009-10-12 Thread Evgeny Bobovik
Try to rewrite thanks.php so that it returns the data you need in case of success, and in case of error: ie judging from your code, in case of success of thanks.php should return the following data: div id=message style=display: none; h2Contact Form Submitted!/h2 pWe will be in touch soon./p

[jQuery] Re: Newbie trying to Ajax in IE8

2009-10-12 Thread Evgeny Bobovik
I would recommend you create somewhere on the main HTML page hidden field (example: div id=hidden-field style=display: none; / div) and after receiving data using ajax immediately put them in. this element, and all subsequent processing is performed on the data already located in this field. Upon