[jQuery] Re: Copy content from one field to another

2009-10-20 Thread rupak mandal
function doCopy(){ if($('#same').is(':checked')) { $("#billing_first_name").attr("value", $('#shiping_first_name').val()); } else { $("#billing_first_name").attr("value",""); } } > I have another question related to this. How can I clear the fields i

[jQuery] Re: Copy content from one field to another

2009-10-20 Thread rupak mandal
sorry change the id of lastname of shiping information to "shiping_first_name" Thanks On Tue, Oct 20, 2009 at 6:04 PM, rupak mandal wrote: > > change the id of lastname of billing information to "billing_last_name" > > Thanks > > > On Tue,

[jQuery] Re: Copy content from one field to another

2009-10-20 Thread rupak mandal
change the id of lastname of billing information to "billing_last_name" Thanks On Tue, Oct 20, 2009 at 5:44 PM, ReynierPM wrote: > > rupak mandal wrote: > >> Try this >> >> $("#billing_first_name1").attr("value",$("#shiping

[jQuery] Re: password initial value without masking "****"

2009-10-20 Thread rupak mandal
either you ca maintain two input element (like facebook), or make an image of "password"and set the image to textbox background, on focus or click just remove the background-image. On Tue, Oct 20, 2009 at 2:09 PM, Bi Jing wrote: > For now, our project use two input elements to implement this, w

[jQuery] Re: How to get active image centeres in jCarousel?

2009-10-20 Thread rupak mandal
jQuery(document).ready(function() { jQuery('#mycarousel').jcarousel({ start: 3 }); }); http://sorgalla.com/projects/jcarousel/examples/static_start.html Thanks On Tue, Oct 20, 2009 at 8:49 AM, Ghprod wrote: > > Hi, > > i use jcarousel in one of my project. As we know active i

[jQuery] Re: superfish navbar - how do I center the whole bar?

2009-10-20 Thread rupak mandal
Put the ul inside a div. I think it will work On Tue, Oct 20, 2009 at 9:05 AM, Shawn wrote: > > I'm using a navbar with superfish. I simply put my menu list inside a > wrapper so the markup looks like this: > > > > ... > ... > ... > > > > > now I want to make the navbar-wrapper 100% of

[jQuery] Re: Copy content from one field to another

2009-10-20 Thread rupak mandal
Try this $("#billing_first_name1").attr("value",$("#shiping_first_name").val()) $("#billing_last_name1").attr("value",$("#shiping_last_name").val()) Thanks On Tue, Oct 20, 2009 at 8:55 AM, Ghprod wrote: > > Hi ... if u work with newer version of jquery, maybe u'll change $ > into jQuery

[jQuery] Re: Get url from iframe

2009-10-19 Thread rupak mandal
no because after clicking on any search link, it was redirect to new web page. But src remains same. On Mon, Oct 19, 2009 at 9:45 PM, brian wrote: > > I believe you can get it from the "src" attirbute. > > On Mon, Oct 19, 2009 at 7:37 AM, Rupak wrote: > > > > Hi all, > > > > I have an ifram in

[jQuery] Re: show/hide with embed

2009-10-16 Thread rupak mandal
if the problem is reload then add "return false" at the end or the function On Fri, Oct 16, 2009 at 6:02 PM, ngreenwood6 wrote: > > I tried doing that as well and it still does the same thing. It must > be changing the display that makes it reload. To test all you have to > do is create a div wi

[jQuery] Re: Superfish - Drop Down not displaying

2009-10-15 Thread rupak mandal
Increase the hight of "#pillmenu" to 87px or as per your requirement. In "template.css " Thanks Rupak On Thu, Oct 15, 2009 at 5:47 PM, Superfish Query wrote: > > Hello, > > I am using the Superfish Module and have been able to successfully > install and use it. The problem I am having is that

[jQuery] Re: Superfish menu problem.

2009-09-16 Thread rupak mandal
to them anywhere. > > Thanks for taking the time out to help me. I really appreciate it. > > Thanks again, > Suzanna > > > On Sep 16, 1:46 am, rupak mandal wrote: > > Drop-down menu is working, but it will no display due to overflow:hidden > in > > "cle

[jQuery] Re: "Object doesn't support this property or method" in IE

2009-09-16 Thread rupak mandal
I have face similar problem . Just check is there any html open or close tag missing in "provStats.php". Thanks Rupak On Wed, Sep 16, 2009 at 12:16 PM, Ricardo wrote: > > Hmm. No idea why it doesn't work in IE, but here are some general > observations: > > You don't need the "jQuery(function()

[jQuery] Re: Superfish menu problem.

2009-09-15 Thread rupak mandal
Drop-down menu is working, but it will no display due to overflow:hidden in "clear". You have to make some changes. Add height & width in tail-top-menu and remove "clear" class from that div. .tail-top-menu { height:30px; width:100% } and also add height in ".sf-menu a" && "sf-menu l

[jQuery] Re: Getting value from fields that compose an array?

2009-09-11 Thread rupak mandal
Try this var values=$('input[name="item[]"]').map(function() { return $(this).val() } ).get(); Thanks Rupak On Fri, Sep 11, 2009 at 3:04 PM, ximo wallas wrote: > Hello! > I have a form with some fields like this: > > > > > > > How can I retriev the values with jquery? > > I'm using thi

[jQuery] Re: IE7 submenu display problem

2009-09-10 Thread rupak mandal
hi, This is not a problem of z-index, this is due to position:relative. If you remove the position:relative absolute from #main-content, I think it will work. Thanks Rupak On Thu, Sep 10, 2009 at 2:02 AM, Sajuuk wrote: > > I've got the same problem on a site I am working on right now. I > tr

[jQuery] Re: HTML code inside script tag, how access to it with DOM???

2009-09-09 Thread rupak mandal
Div is outside the HTML DOM. After creating the div element you have to append the div into the body. thanks Rupak On Wed, Sep 9, 2009 at 3:38 PM, Mariano wrote: > > I have an HTML page that looks like this: > > > > > >
some test
> > >

[jQuery] Re: Image-Load

2009-09-09 Thread rupak mandal
use $(window).load. I think it will work Thanks Rupak On Wed, Sep 9, 2009 at 3:13 PM, binarious wrote: > > Hey, > I have an alert(); in a document.ready function. Sometimes the alert > appears after my image on this page is loaded and sometimes it appears > before. What can I do, that this java

[jQuery] Re: Fade-in problem in IE7(urgent)

2009-09-08 Thread rupak mandal
Thanks all ti work's. On Tue, Sep 8, 2009 at 7:44 PM, Charlie wrote: > the fade functions use animate() I believe. > > Try animate function and animate your opacity > > > rupak mandal wrote: > > Initially div display property is set to none. FadeIn will handle

[jQuery] Re: click a button returned by ajax

2009-09-08 Thread rupak mandal
Hi carlos try to use http://docs.jquery.com/Events/live thanks Rupak On Tue, Sep 8, 2009 at 8:54 PM, Carlos Santos wrote: > > I have a button that do appear on my page through a post with jquery: > > $.post( >'more_item.php',{ >NumItem: Nu

[jQuery] Re: Fade-in problem in IE7(urgent)

2009-09-08 Thread rupak mandal
Initially div display property is set to none. FadeIn will handle display property but fadeTo will not. Any other suggestion Thanks Rupak On Tue, Sep 8, 2009 at 5:55 PM, Nick Fitzsimons wrote: > > 2009/9/8 rupak mandal : > > hi nick, > > Thanks for quick reply. > >

[jQuery] Re: Fade-in problem in IE7(urgent)

2009-09-08 Thread rupak mandal
hi nick, Thanks for quick reply. That's not the problem. Here is the full code. http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js [jQuery] Re: Hidden div height width
Thanks for the quick reply . The problem is that i cannot use visibility:hidden or position absolute. On Fri, Sep 4, 2009 at 3:42 PM, joey santiago wrote: > > exactly... but if you hide it with visibility:hidden, then you still > see an empty space on the page... you should hide it by setting hi

[jQuery] Re: Problems with minDate on datepicker not allowing before 1999.

hi joe, You have to specify the "year range" according to your requirement .By default it is yearRange: '-10:+10' Thanks Rupak On Wed, Sep 2, 2009 at 8:34 PM, hoe`` wrote: > > If I do something like, minDate: new Date(1930, 1-1, 14) > or, minDate: '-70Y' > > The oldest date available will be

[jQuery] Re: Accessing Elements after adding them with Append

hi daniel, You have to bind click function after the element was append to DOM. But there is a problem Jquery support multiple binding. So you have to first unbind the click function, then append an element to the DOM and then bind click function. I think this code will help you -: $("div#categor

[jQuery] Re: (autocomplete) Is it possible to cache the empty results ?

Hi , you have to make a little changes in autocomplete.js Search for "*if (data && data.length*)" condition which is inside "request" function. Add this code before the *if * condition if(data) data.length=0; Thanks Rupak On Mon, Aug 31, 2009 at 3:36 PM, mathieuuu wrote: > > Hello, > > I

[jQuery] Re: input color - default color

Hi You may try this $('#first_input').css('background-color', 'transparent'); On Fri, Aug 28, 2009 at 5:00 PM, dziobacz wrote: > > interesting - Your solution works in Firefox and in Chrome but it > doesn't work in IE 8 and Opera - in these browser background color > inputs is still red - hm..

[jQuery] Re: Hover does not stop

Try this $(function(){ $('#navigation').hover( function() { $(this).stop().animate({left: '-210'}, 'slow');}, function() { $(this).stop().animate({left: '0'}, 'slow');} ); }); I think that's work On Fri, Aug

[jQuery] Re: Hover does not stop

hi, what I have getting is that hover function is call multiple time till the mouse pointer is inside the div area. May be you try onmouseover and onmouseout. As suggested by paolo. On Fri, Aug 28, 2009 at 4:36 PM, Paolo Chiodi wrote: > > maybe the hover is generated more than once while it is s

[jQuery] Re: how to access the value of multiple textbox of same name.

thanks lanxiazhi., It works On Wed, Aug 26, 2009 at 11:24 PM, lanxiazhi wrote: > var values=$('input[name="location[]"]').map(function() > { > return $(this).val() > } > ).get(); > this will return an array of values. > 2009/8/27 Rupak > > >> Hi all. >> >> I have n number of text box (n may

[jQuery] Re: IE Superfish z-indexing problem

Hi, This problem is due to "position relative" in "sf-menu ul" class . If you change the position to absolute i think it will work. thanks Rupak On Wed, Aug 26, 2009 at 5:17 AM, mr.amazing wrote: > > I know, I know, this is a common problem. Well, after trying every > combination of z-index

[jQuery] Re: Datepicker issue

hi, you can try this $("#datepicker").change(function() { var date1=$("#datepicker").val(); var myday = new Date(date1); var today= new Date(); var one_day=1000*60*60*24; chan_date=Math.ceil((myday.getTime()-today.getTime())/(one_day)); var m

[jQuery] Re: How to cancel an AJAX request?

Hi Hector, you have to use abort function. go through this link http://www.protofunc.com/scripts/jquery/ajaxManager/ Thanks Rupak On Wed, Aug 26, 2009 at 2:25 AM, Hector Virgen wrote: > Hello, > Is there a way to stop or cancel an ajax request on demand, similar to > pressing "stop" in the br

[jQuery] Re: hide() does not hide span in IE, but does in FF

hi, if you use div instead of span I think it will work. On Tue, Aug 4, 2009 at 8:25 PM, msmaeda wrote: > > Hi, > > With the code below, I am having an issue that only seems to occur in > IE. The issue is that the "payer_pane" span should be hidden unless > the "NEW" option is selected in the "

[jQuery] Re: Superfish vertical menu, sub-menu item overlap problem

Hi BenI think the problem is off using position relative, change in css .menu li:hover { visibility: inherit; position:relative; } On Wed, Aug 5, 2009 at 3:16 AM, Ben wrote: > > In an ideal Superfish vertical menu setup, you match the width of the > first with the offset of the second, so

[jQuery] Re: Google Maps inside jqModal

Hi anshu you have to call "initialize()" function after the initialization of "dialog" div. Basically what's happen hear calling of google map api before the initlalization of "map_canvas" div. Better option is to use "SettTimeout" function instead of "onload" . $().ready(function() {

[jQuery] Re: Check if element is shown with show()

If you assign same class to all the paragraph. so on clicking on menu you have to hide to the class element and show the particular paragraph. Home About Contact Gallery :: : : :: : : $(document).ready(function{ f

[jQuery] Re: Check if element is shown with show()

Hi Stefan What i am getting is that, on click you have to display a paragraph and hide another. Home About Contact Gallery $(.changepara).click(function(){$(.hangepara).hide(); $("#"+this.id).show(); }) }) I think this code will help you. On Tue, Aug 4, 2009 at 5:29 AM, Stefa

[jQuery] Re: Superfish z-index problem with googlemap in IE

Thanks for the suggestion.I got the solution.We have to just change the superfish.css .sf-menu li:hover { visibility: inherit; /* fixes IE7 'sticky bug' */ position:relative; z-index:999; } and it will work. On Mon, Aug 3, 2009 at 11:38 AM, CanisVoriCanis wrote: > > I just had a simila

[jQuery] Re: Superfish z-index problem with googlemap in IE

Thanks for the responce. On Sat, Aug 1, 2009 at 7:36 PM, Boris Anthony wrote: > > Having the same problem. > From what I can gather, Superfish in IE7 goes behind any element that > has "position:relative;" declared, and it just so happens that > embedded Google maps seem to require it's container

[jQuery] Re: Does IE support live?

hi David, you have to bind "jump" in load callback function. $(function() { $.ajaxSetup({ cache: false }); $('#btn').click(function() { $('div:first').load('b.html',function(){loadCallback();}); }); }); function loadCallback() {

[jQuery] Re: Is it possible to hide the destination URL of a link?

ven though it seems useless because the id > deleted is still shown on the page, again - goes away after the manual F5). > I have just tried a lot of things using .load in the success, .ajax, .post > etc etc, but I have the same issue. > > Thanks, > Anoop > > > > On

[jQuery] Re: Is it possible to hide the destination URL of a link?

Hi anoop I think you can store the required data in session. On Fri, Jul 31, 2009 at 5:19 AM, Anoop kumar V wrote: > I have a menu, on which is a delete link. The URL of the link is quite > plain: http://mysite.com?delete=true&id=123 > (quite obvious I think that the request is to delete the id=

[jQuery] Re: call ajax on ENTER key press

Hi bharani I think this code will work for you $(document).ready(function() { $('#movie_name').keyup(function(e) { if(e.keyCode == 13) { //your code } }) }) On Fri, Jul 31, 2009 at 9:44 AM, Mohd.Tareq wrote: > Hi bharani kumar, * > * > *Its simple one you need to write onKey

[jQuery] Re: Tabs: page jumps to top when tab changes

Hi, if you remove the "jquery.history_remote.pack.js" then I think it works properly. On Wed, Jul 29, 2009 at 5:50 PM, chris_huh wrote: > > At the moment my page will jump to the top (because of the #) whenever > a new tab is clicked or when it automatically rotates to one. > > Is there a way to

[jQuery] Re: Draggable problem

na.appspot.com/demo.html > > I've also changed the style as you suggested. > > Can you help me a bit more with this? > > Thanks > > On Jul 29, 7:21 am, rupak mandal wrote: > > Hi , replace the javascript cod and add "dragafter" class in css > > >

[jQuery] Re: Draggable problem

Hi , replace the javascript cod and add "dragafter" class in css //javascript $(document).ready(function(){ //Counter counter = 1 //Make element draggable $("#drag").draggable({ helper:'clone', start: function(e, ui){ $(ui.

[jQuery] Re: Autocomplete cache problem ( Urgent )

Hi , you have to make a little changes in autocomplete.js Search for "*if (data && data.length*)" condition which is inside "request" function. Add this code before the *if * condition if(data) data.length=0; On Tue, Jul 28, 2009 at 1:29 PM, Vivek wrote: > > Hi, > > I am using autocomple