[jQuery] Re: claering feilds in div

2009-06-20 Thread kalyan Chatterjee
Just use this a simple html button: input name=button2 type=reset id=button2 value=Reset / On Jun 20, 9:58 am, naz s.na...@gmail.com wrote: i have try this code but it also clear my buttons name .i just want to reset my tetxt feilds plz tel me if any body have idea of this thnx in

[jQuery] Re: Multiple responses while using Jquery From Plugin

2009-06-20 Thread Vivek
Anyone Please ?? On Jun 19, 8:40 pm, Vivek narula.vi...@gmail.com wrote: Hi, I am using Jquery's Form plugin. I am getting one response at the end of the submission of the form. I would like to have multiple responses delaying few seconds e.g. First Loading , then Sending... then

[jQuery] how to call a JS function by pass into a JS

2009-06-20 Thread Davis
Hello; i want pass a JS function name into a function and call it. a onclick=javascript:ajax_loadpage('inittabFeeds()');babababa/a function ajax_loadpage(x_func) { // how can i call inittabFeeds() which stored in x_func variable ? } many thanks/Davis.

[jQuery] Re: how to call a JS function by pass into a JS

2009-06-20 Thread Narendra sisodiya
You can use eval function : an example and how to use http://www.devguru.com/technologies/javascript/11460.asp ~N A R E N On Sat, Jun 20, 2009 at 1:54 PM, Davis ywk...@gmail.com wrote: Hello; i want pass a JS function name into a function and call it. a

[jQuery] Re: how to call a JS function by pass into a JS

2009-06-20 Thread Davis
that good, many thanks for your help.

[jQuery] problem to implement a page onload inside a ajax function

2009-06-20 Thread Davis
Hello, i got a JS package that must be call during onload page, like following html page content body onload=initTab(); bababababa babababababa /body so now i implemented a ajax to load that html page, but it seems initTab() on onload body didnt take any effect

[jQuery] listmenu

2009-06-20 Thread robin30
hi all, i love the listmenu plugin. just have a question. i'm getting a list from my database. for example under C there's Coffee and Cafe. how can i when i click for example on Coffee that alerts you clicked on Coffee or when i click on Cafe, you clicked on Cafe. thanks in advange, Robin30

[jQuery] listmenu

2009-06-20 Thread robin30
hi all, i'm trying to implement the listmenu in my website. I'm able to populate the listmenu with items from my database. Now my question is how to i get the text when a link is clicked. for example, in the letter C there are 2 things for example Coffee and Cafe. how do i get the value

[jQuery] Form functionaltiy - scroll to top of page on submission

2009-06-20 Thread juxprose
Below is a block of code from a Wordpress plugin called MM Forms, which handles form creation. The part of the code below deals with what happens when a form is submitted, which I believe is around this part: if (1 == data.mailSent) {

[jQuery] Re: how to call a JS function by pass into a JS

2009-06-20 Thread cfddream
call/apply can do it eval -- Ever Now .. -- Original --

Re[jQuery] sizing the container in lightbox.js please help

2009-06-20 Thread bobbyr
Hello guys I'm pretty new with this and I was able to resize the images in the css with a width-max; 600px; but the container stay big. How can I resize it in lightbox.js? Here is the code // once image is preloaded, resize image container imgPreloader.onload = (function(){

[jQuery] Clarify queries

2009-06-20 Thread Glowing In land
Information regarding ur expectation www.123maza.com

[jQuery] Bassistance Tooltip and z-index issue in IE7

2009-06-20 Thread MrPopo
Hi, My Tooltip is getting covered by my Flash image gallery. A total bummer. I've tried playing with z-index settings, making the Flash background transparent and the bgiframe fix, all to no avail. The Flash background fix makes the tooltip visible, but renders the flash gallery unclickable.

[jQuery] jqModal problem

2009-06-20 Thread Popo
Dear, I'm using jqModal like code below : script $(document).ready(function(){ $(#example).treeview(); $('#dialog').jqm(); $('a.jqModal').click(function(){ var e = $(this).text(); $.get(tab_rule.php, { keygroup : e }, function(data){

[jQuery] Query information

2009-06-20 Thread Glowing In land
Try this www.123maza.com

[jQuery] Removing an emptied paragraph from the DOM

2009-06-20 Thread Bruce MacKay
Hello folks, I have an application which removes an image from within a paragraph, wraps that image in a div and places it in front of the paragraph. I now want to remove that paragraph. Why doesn't the following use of remove() not achieve my objective? I've tested the length - it is 0,

[jQuery] about dragging and get new parent()

2009-06-20 Thread pyromus
Hi I am trying to do something but I did not do this. I am using draggable function. When I stop my dragged element, I want to learn new parent element, if it is true, drop element but if it is not, reverse droping and turn back. script type=text/javascript $(document).ready(function(){

[jQuery] Re: Removing an emptied paragraph from the DOM

2009-06-20 Thread Mauricio (Maujor) Samy Silva
How about? $('.buggybox').next('p').remove(); Maurício -Mensagem Original- De: Bruce MacKay Para: jquery-en@googlegroups.com Enviada em: sábado, 20 de junho de 2009 08:20 Assunto: [jQuery] Removing an emptied paragraph from the DOM Hello folks, I have an application

[jQuery] Re: Removing an emptied paragraph from the DOM

2009-06-20 Thread Bruce MacKay
Thanks Mauricio, I hadn't tried that angle, but unfortunately it didn't make any difference. I've also tried adding a class to the initial parent p and then trying to remove all paragraphs containing that class name - and have achieved the same nil outcome. Thanks for your input. Cheers,

[jQuery] Re: Form functionaltiy - scroll to top of page on submission

2009-06-20 Thread kalyan Chatterjee
You can use jquery plugin scrollTo : here is the demo : http://demos.flesler.com/jquery/scrollTo/ On Jun 20, 12:52 pm, juxprose d...@delarge.co.uk wrote: Below is a block of code from a Wordpress plugin called MM Forms, which handles form creation. The part of the code below deals with what

[jQuery] Re: Error : 'document' is undefined

2009-06-20 Thread kalyan Chatterjee
Place your jquery include tag at first then other javascript file attachment. Hope your problem gone! On Jun 20, 12:21 am, nanditha k nandithak2...@gmail.com wrote: http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2 On Fri, Jun 19, 2009 at 1:53 PM, amuhlou

[jQuery] Re: claering feilds in div

2009-06-20 Thread Charlie
$("input[type='text']").val(""); kalyan Chatterjee wrote: Just use this a simple html button: input name="button2" type="reset" id="button2" value="Reset" / On Jun 20, 9:58am, naz s.na...@gmail.com wrote: i have try this code but it also clear my buttons name .i just want to

[jQuery] Re: adapting xhtml layout for JQuery photo slider to PHP blog template

2009-06-20 Thread wildbug
I figured out how to limit the photos to 4. I'd be happy now if someone could just tell me how to fix the overlapping imagesthe other stuff is just gravythanks! On Jun 18, 10:18 pm, wildbug planetthr...@gmail.com wrote: Hi all, I am hoping to use a 3rd party script for a simple JQuery

[jQuery] Re: Form functionaltiy - scroll to top of page on submission

2009-06-20 Thread juxprose
Thanks Kalyan I did see that and try to implement it without success - I am pretty inexperienced with jQuery. Have you any pointers as to how this plugin would work with the code in my example? Thank you kalyan Chatterjee wrote: You can use jquery plugin scrollTo : here is the demo :

[jQuery] Re: Removing an emptied paragraph from the DOM

2009-06-20 Thread Charlie
parnt.length isn't zero so if you are still using that test could the the problem think about it a second, if you assign $(this).parent() to it how can length be zero? also you have a syntax error $(this).insertBefore(p)// should have quotes around p unless it is a variable if you aren't

[jQuery] jQuery get JSON error data.channel is undefined

2009-06-20 Thread Amit
Error: data.channel is undefined Source File: http://203.129.220.178/gri-valudeal/new.html Line: 131 line :131 bcontains the function : getJSON Any one having any idea why this error is coming. -- Regards, Amit Kr. Sharma Mobile: 09780141161 Profile:

[jQuery] Re: adapting xhtml layout for JQuery photo slider to PHP blog template

2009-06-20 Thread Charlie
your source is all corrupted by injecting your images aimg//a inside the href of another a page is breaking as result try to make the code match the design of original plugin example first, verify by checking source in browser wildbug wrote: I figured out how to limit the photos to 4.

[jQuery] slideToggle doesn't work in IE

2009-06-20 Thread Thavipa
Hi all, For my work i need to make a form. At some points you have to choose an option from a dropdown select box. After you have chosen one of those some other field appear under the dropdown thing. I use the slideToggle event for this effect. In firefox its all working fine, but in ie 6.0 and

[jQuery] Re: Multiple responses while using Jquery From Plugin

2009-06-20 Thread ravi
On Jun 20, 2009, at 2:25 AM, Vivek wrote: Anyone Please ?? On Jun 19, 8:40 pm, Vivek narula.vi...@gmail.com wrote: Hi, I am using Jquery's Form plugin. I am getting one response at the end of the submission of the form. I would like to have multiple responses delaying few seconds e.g.

[jQuery] Re: slideToggle doesn't work in IE

2009-06-20 Thread Charlie
IE doesn't seem to recognize option click try this in both FF and IE $("select *").click(function () { alert(this.tagName); }); In FF will get alert returning "Option", in IE doesn't fire try this: $("#kies_land").change(function () { if ($(this).val()=="nederland") {

[jQuery] Re: li:nth-child(10) toggle

2009-06-20 Thread bombaru
Works like a champ! Thank you again (mkmanning and karl) for all of your help. On Jun 19, 9:16 pm, bombaru bomb...@gmail.com wrote: Thanks mkmanning!!!  I'll give this a try tomorrow and let you know. Looking at it though... I'm pretty confident it will do the trick. It's amazing how much

[jQuery] Re: li:nth-child(10) toggle

2009-06-20 Thread bombaru
One question with this approach... how would I implement this only on groups that contain more than 10 LI's? Right now it's getting added to every LI group. Groups with less than 10 LI's are also getting the more link appended but there is obviously nothing to toggle. Thanks again. This

[jQuery] Select Menu help!!

2009-06-20 Thread TahoeKid
This works perfectly in Firefox and Safari but in both IE 6 and 7 I cannot get my includes to display... any suggestions? I have not found any better solutions to accomplish using a drop down menu to display an html message. script type=text/javascript var message = new Array();

[jQuery] Re: Removing an emptied paragraph from the DOM

2009-06-20 Thread liam193
I think your issue is one equal sign instead of two equals signs. Basically, you are trying to set the length (which is read-only). That likely evaluates to false when it fails. Change your test to: parnt.length==0 On Jun 20, 7:20 am, Bruce MacKay b.mac...@massey.ac.nz wrote: Hello folks, I

[jQuery] Accessing the value

2009-06-20 Thread W0utR
Hi, i'm using php to create the stars for rating: echo 'p'; echo strongConcept/strong; for($i = 1; $i 6; $i ++) { ? input type=radio name=concept class=star / ?php } echo '/p'; But how can i know what rating is selected? When i use:

[jQuery] Re: li:nth-child(10) toggle

2009-06-20 Thread bombaru
You are a rock star! I can't thank you enough. On Jun 20, 1:55 pm, mkmanning michaell...@gmail.com wrote: A minor refactor then: $('.main ul').each(function(){ var $this = $(this), lis = $this.find('li:gt(9)').hide();         if(lis.length0){        

[jQuery] Re: li:nth-child(10) toggle

2009-06-20 Thread mkmanning
A minor refactor then: $('.main ul').each(function(){ var $this = $(this), lis = $this.find('li:gt(9)').hide(); if(lis.length0){ $this.append($('li').text('More').click(function(){ lis.toggle(); $(this).text($(this).text() === 'More' ?

[jQuery] Re: Accessing the value

2009-06-20 Thread W0utR
Thanks for the quick reply, i tried adding a value and it works thank you :) On 20 jun, 20:07, mkmanning michaell...@gmail.com wrote: The default value is 'on'. You need to assign a value to each radio; also the selector you're using selects all of the radios without distinguishing between

[jQuery] Re: Accessing the value

2009-06-20 Thread mkmanning
The default value is 'on'. You need to assign a value to each radio; also the selector you're using selects all of the radios without distinguishing between selected or not. Try this to experiment with: $(':radio.star').click(function(){ console.log($(this).val()); }); Your html should

[jQuery] Re: cycle plugin image positioning issue

2009-06-20 Thread MiD-AwE
I recently ran into a similar situation where all slide shows other than the first was not displaying properly since they are written into the page after a mouse click on link like: $('#div').html($(href).html ()); So, since the first cycle slide show worked fine with css width:

[jQuery] append and *slowly* show new content in DOM

2009-06-20 Thread Eric P
Hi, I'm guessing this is an easy question, but I can't figure it out. I want to add some new content to the DOM, so I have a line like this. $('#div_container').append('phi there!/p'); However, I'd like it to slowly appear via show(). But adding show() doesn't work as I'd expect. The new

[jQuery] Re: Problems on IE7

2009-06-20 Thread xoail
Anybody? On Jun 19, 3:40 pm, xoail mdsoh...@gmail.com wrote: Hi All, I've been literally pulling my hair out with this issue I have with our corporate website. The problem is with jquery light box (jqmodal) that freezes other controls after use  in IE7. There seem to be no problem with IE6

[jQuery] Re: how to call a JS function by pass into a JS

2009-06-20 Thread Ricardo
If the function is always global, you could use: function ajax_loadpage(x_func){ //... window[x_func](); }; ajax_loadpage('inittabFeeds'); Better than that would be passing the function object itself, if it's in scope: function ajax_loadpage(x_func){ //... x_func(); };

[jQuery] Re: append and *slowly* show new content in DOM

2009-06-20 Thread MiD-AwE
You could try $('#div_container').hide(this).append('phi there!/ p').show('slow'); On Jun 20, 2:03 pm, Eric P eric.maill...@gmail.com wrote: Hi, I'm guessing this is an easy question, but I can't figure it out. I want to add some new content to the DOM, so I have a line like this.

[jQuery] Re: Problems on IE7

2009-06-20 Thread Charlie
i tried this in IE 7 and was able to get to search after closing modal without complete lock up page does however have a significant number of validation errors, multiple use of ID's, broken tags, invalid xhtml tags ,style tags inside body all over the place etc and error console keeps

[jQuery] Re: append and *slowly* show new content in DOM

2009-06-20 Thread MiD-AwE
My appologies for the silly reply. Instead try: (if it's ok to hide the container) $('#div_container').hide().append('phi there!/p').show('slow'); If you want to keep the container visible then try: $('#div_container').append('p style=display:none;hi there!/p');

[jQuery] selectors in an external javascript file

2009-06-20 Thread Domenic M.
hey i have a quick question on selectors i have some nested divs and im trying to attach the click function to a link in one of the divs it works when i put the javascript directly after the links, but when i use the id of the div as a selector in an external javascript file it doesn't, any

[jQuery] Re: how to call a JS function by pass into a JS

2009-06-20 Thread Matt Kruse
On Jun 20, 3:24 am, Davis ywk...@gmail.com wrote: i want pass a JS function name into a function and call it. Why do you want to pass a name? Just pass the function reference instead. a onclick=javascript:ajax_loadpage('inittabFeeds()');babababa/a

[jQuery] problems in IE (6, 7, and 8)

2009-06-20 Thread theprodigy
I have a bit of code that seems to work perfectly in FF and Safari, but causes some strange things to happen in IE. here is the code: [code] $('a.movedown').click(function(event) { var href = $(this).attr('href'); $.get(href); var $thisRow = $(this).parents('tr:first');

[jQuery] Re: jQuery 1.3.2 in IE5.5

2009-06-20 Thread Ricardo
Is it completely unfeasible to install Firefox 1.5 on those PCs (I wonder what hardware these are O.o)? It should work on Win95. Or event a linux distro if it's all browser+docs being done, might be cheaper than taking the time to redo it all without jQuery. Else, first thing to do is get a VM

[jQuery] Re: selector, second to last row of table

2009-06-20 Thread Ricardo
What exactly are you trying to achieve? It's hard to deduce anything from lots of .prev() and .next() calls without seeing the corresponding HTML mark-up. What inner DIV? What container? Moving a single row up should be as simple as $row.insertBefore ( $row.prev() ); http://snipt.org/kkpo On

[jQuery] Re: selector, second to last row of table

2009-06-20 Thread Paul Witschger
ok, go to http://www.hypertextwebdesign.com/admin, click the button that shows up (placeholder for login form) Click on Galleries on the menu on the left What shows next is the main galleries page. Here the client can sort the galleries how they want them to be sorted on their website, delete

[jQuery] Re: problems in IE (6, 7, and 8)

2009-06-20 Thread Ricardo
Hi Paul, Please avoid creating many threads on the same (or related) issues. This is the third on this subject that I can remember! For those who haven't seen it, last one is at http://groups.google.com/group/jquery-en/browse_thread/thread/30d3e93a0f339d7b?hl=en It looks like your pages are

[jQuery] Re: Unresponsive Script

2009-06-20 Thread waseem sabjee
may be change this line jQuery(document).ready(function($) { to this $(function() { On Fri, Jun 19, 2009 at 11:22 PM, James james.gp@gmail.com wrote: Could this: delay(delayValue); have anything to do with it? In your code, if you comment out all the calls to CreateOnClickEvent,

[jQuery] Re: jQuery UI dialog not behaving

2009-06-20 Thread Charlie
your dialog options need tuning $("#dialogue").dialog( { AutoOpen: false, /// should be autoOpen bgiframe: true, height: 400, width: 300, maxHeight: 10, /// 10?? maxWidth: 10, // 10? modal: true, resizable: true, buttons: { "Ok": function() {

[jQuery] Re: problems in IE (6, 7, and 8)

2009-06-20 Thread Paul Witschger
My apologies on the multiple threads. It just seemed that it got lost in the shuffle. OK, I fixed many of the errors from validator. Only one remains. Doing so seems to have fixed my IE issue (at least IE7). Here's the error that remains: [error] document type does not allow element

[jQuery] jQuery (load) deletes my tags sIFR3

2009-06-20 Thread Majid_001
Hello, and thank you in advance for your help. I did not speak English, I'm french. I can not solve this problem. I'm trying to load a remote page using load function. It works, but it does not load tags h4 using sIFR3. h4 Tags are removed during the load Main html: