[jQuery] Fire event
Hi there, i'am new to jquery so my question is maybe too easy for you? ;) I got the following: 3 Radiobuttons which each i added a click event that shows up a new div with some information about the value of this radio button. This works fine. Now when i load the page and passing a PHP variable to the script one radio button is checked by default. This also works but the div with the information doesn't appear. Is there a way to check which button is selected on $(document).ready and then fireing
[jQuery] jCarousel
Is jCarousel compatible with jQuery 1.3? If it isn't is there a quick fix?
[jQuery] Div and Button display as active and open only on certain pages
Hi I have a DIV overlay that I want to show as open only on certain pages but not on others (it is on all pages). The button that is related to the DIV must also display as on when the DIV overlay is open and in the off state when it is closed. This must happen on page load. e.g. DIV open, button on. DIV closed, button off. I have the click show and activation working so all i need is it to display as open and on, on certain pages and then on others closed and off. An help would be greatly appreaciated.
[jQuery] Need help on How to load content via AJAX in jQuery
I found this script: http://yensdesign.com/2008/12/how-to-load-content-via-ajax-in-jquery/ I got it working, but it really looks bad in IE, along with erros. Any alternatives or sugestions? Here is my page: http://www.enaturalskin.com/needhelp.htm Many thanks. Erik
[jQuery] I get "not implemented" error visual studio aspx page
Hi, When i run the below code, I get "not implemented" error message from aspx(visual studio) I guess this message about height or left position setting of div (I use vs2008 and these jf fiels ; <script src="../Scripts/jquery-1.3.2.min.js" type="text/javascript"></ script> <script src="../Scripts/jquery.blockUI.1.33.js" type="text/ javascript"></script> ////////////////////////////////////////////////////////////////////////////////// 7 CODE: $.blockUI({ message: $('#divConfirmBox') }); <div id="divConfirmBox"
[jQuery] jQuery MultiFile Upload with ASP.NET
I'm learning more and more about jQuery and am really enjoying what I can do with it. I'm working on a multiple file uploader in ASP.NET w/ C# and am looking for advice (or good tutorials) on uploading multiple files using the jQuery MultiFile plugin. I've seen examples using it with a single file, but how can I go about accomplishing this with multiple files? Anyone got any good examples on using this plugin in ASP.NET?
[jQuery] Slide in / out message
Hi all, I try to make a div to slide down, pauze for 5 seconds and then slide up. This is meant for showing a message. Just like the Twitter interface. But I cannot get it working. Anyone an good idea? Thx in advance! Current code: $(".testbutton").click(function () { $('#test').slideDown( 'slow' ); timer = setTimeout('$(".testbutton").click()',500); $('#test').slideUp( 'slow' ); return false; });
[jQuery] Lavalamp - disable a single li click
Hi Everyone, I'm using the lavalamp plug in. One of the items in my list is used to display a tooltip and I'd like to leave it unselected on click. Basically, when the mouse is over the item, leave the lavalamp graphic in place, and if clicked, act as if it wasn't when the mouse moves off. I've got everything working just fine except for that one little piece. Thanks!
[RESOLVED] show one row & hide others
hi guys, I got this example code which show rows when click on it, the problem is it shows all but I want if I click on one row it shows that one and hide others. Please help its urgent. <head> <title>Jquery Table Display</title> <script type="text/javascript" src="jquery-1.2.3.pack.js"></script> <script type="text/javascript" src="jquery.tabledisplay-0.2.js"></script> <style type="text/css"> .showed { display:none; } </style> <script type="text/javascript">
[jQuery] ajax post not sending header
Posting data from a form using this function: $(function() { $('#emailform').submit(function() { $.ajax({ url: '/post/url/', dataType: 'json', data: $('#emailform').serialize(), success: function(rdata) { $('#emailformmessage').text(rdata.message).show ('slow'); } }); }); return false; }); the server doesn't detect an ajax call ('X-Requested-With' header is not sent). I tried forcing it with beforeSubmit and also with ajaxSetup, but no go. Any solutions to this problem? hadaraz
[jQuery] 2 different ways of doing the same thing?
Would this not be 2 different ways to do the same thing? $('input:not(:checkbox)); vs. $('input').not(:checkbox);
[jQuery] [Jquery parent window's table]
Hai, I want to change the parent windows table from popup window. I used window.open to open a popup window. when i click a button in popup window i want to assign some value in parent windows table (cell). <script> function resetIndex(res){ $i("index").value=res.parentNode.parentNode.rowIndex; window.open("./ employee.html","mywindow","status=0,height=400,width=500,location=0,toolbar=0,scrollbars=1,modal=yes"); } </script> <form id="userForm"> <table> <thead> <th>UserID</th> </thead> <input type="hidden"
[jQuery] getting the value of list box in jquery
i have a list box and i want to get its values in jquery please tel me how can i do that i m writing $('#right').val(); but this is giving me null plpease tell me how can i do that i need help as soon as possible thx to all persons which reply to my questions
[jQuery] Complex selector
After spending some time searching without luck here is my question: I am looking for a way to select all and <table> elements which are a child element of a <div>, except those that are of class ImageHolder, with the condition to keep the order of the elements. Example HTML: <div> test value 1 test value 2 <table><tr><td>test value 3</td></tr></table> test value 4 <table class="ImageHolder"><tr><td>test value 5</td></tr></table> test value 6 </div> As a result I need:
need help with jquery ui sortable
hi all: i am a newbie to the jquery, glad i did. i have few toolbars on my webpage, and what i want is to use jquery sortable to display these toolbars,and people who browse my webpage can customise the order of these toolbars. additionally, these toolbars would be displayed in customised order afterwords. i had used method sortable to sort order of toolbars and saved ids into database via toArray. and i am stuck here, how could display customised toolbars according to the retrieved data from database?
[jQuery] problem unblock with IE
Hello everyone . Here is my problem : I tested this plugin in IE, and the block page appeared..but it didn't disapear after the end of the timeout. I tried and tried for 2 hours, but I gave up. If someone would have a glance to my code and eventually find the error, I ll be extrememly grateful ! $('#result-success').click(function() { $.blockUI({ message: '<div style="color:blue;height:50px;margin-top: 15px;" ><img src="../images/ajax-loader.gif" alt="loading" /> データが正常に更新されました。</div>'
[jQuery] Error in IE - Error: 'url' is null or not an object
Site - http://www.scentsy.com/heather101 Location of js and css - http://heather101.com/jcarousel/skins/tango/skin.css http://heather101.com/jcarousel/scentsy/scentsy.js http://heather101.com/jcarousel/skins/ie7/skin.css The jCarousel works great in all other browsers, but in IE, when you get to the end of the jCarousel it gives the "Error: 'url' is null or not an object" pop up and it won't let me use the left arrow buttons to go back. Any help is much appreciated.
[jQuery] Use of product
Hey, i'm just getting into jquery and i'm going to start posting site templates on theme forest, and, with the permission of the author of jcarousel, if it is possible to edit the css to change the look of the carousel, don't worry there will be a link back on the site.
[jQuery] Object doesn't support this property or method jquery-1.2.6.js, line 83 character 3
Hello: Here is the offending line in IE7: return this.setArray (jQuery.makeArray(selector)); OR in Firefox 3.0.10 line 81 jquery-1.2.6.js return jQuery( document )[ jQuery.fn.ready ? "ready" : "load" ]( selector ); Sorry if I'm not providing enough detail...I'm pretty new to jQuery/ javascript. I assume it is a bug since the error is thrown from a core jQuery script. Thanks
[jQuery] $("#datepicker").datepicker is not a function
hi i am getting this error when i was trying to use the jquery datepicker widget.Can you please help me to solve this issue?
[jQuery] Problem accessing external iframe form values
Hi, I'm getting sick trying to solve this problem: I have a web page A that loads another page B using an iframe (or an object tag), the B page is an external page (it's not on my server) and contains a form. I want to be able to auto fill the form with pre-defined values. In jquery i think it's impossible due to security reasons, somebody can help me?!?! I hope I explained the problem correctly, if you need more info just tell me. Thanks,
[jQuery] problem using jquery ui tabs and google maps
Hi, I have a map inside a "tab", which is created using jquery ui tabs. Placing the map inside a tab causes it to center itself in the wrong point, and the marker in the center doesn't show up. there's a test here: http://demo.motivus.pt/googlemaps/test.html is this a googlemaps or a jquery problem? thanks
[jQuery] How to update check boxes in code
This code does not work var chk = $('#frmCoverage:checkbox'); chk.checked = true; What am I doing wrong?
[jQuery] How 2 Find Control
Hi all, I am new in jquery.I have one problem.in my project i have a <div> and in this div i have lots of textbox or input box (type :text). Can any body give me some code to find these control and get there value. Thanks
[jQuery] next index in Jquery
I was wondering if someone could please help me with a little Jquery. Does anyone know how i would go about selecting the next .slide after the one with .current in it? how can i get the div index of the .current class? <div id="slideshow"> <div class="slide">Slide 1</div> <div class="slide">Slide 2</div> <div class="slide current">Slide 3</div> <div class="slide">Slide 4</div> <div class="slide">Slide 5</div> </div> Ive got the action attached to somthing outside of the slideshow div so i can use
[jQuery] Selectors question
Hey all, I'm new to jQuery and I have a scenario: I have a page that contains an iframe. The page in this iframe contains a table and the last column of every row has a textbox. Each textbox has an unique id of the form tb_rowNum(tb_1,tb_2 etc.). Each row also has some hidden input elements. I'm accessing these textboxes for processing. Right now, this is how I'm doing it: [code] var inputs=jQuery("#myiframe").contents().find('input[id*=tb_]'); for(x=0;x<inputs.length;x++){ some processing .... }
[jQuery] Get dynamic width
Hello, I want to find full width of all elements in one div. Here is example code: <div id="scroller"> text text text text </div> $("#scroller p").each( function(i){ var elSize = $(this).width();}); I need total width of all :-) Thanks in advance
[jQuery] Jquery bind with parameters? Replace inline onclick for server side generated lists, onclick(x, y, z)
Hello First off if this is a double post I apoligize, I sent my first message an hour ago and it is not showing up. Anyway: I've wondered if there is a way to do this for a while. Perhaps I am missing something or should use a different approach altogether. Say I have a dynamic page that generates some td elements. The syntax here is freemarker but you can easily envision your favorite serverside text generating language instead. <table id="records"> <thead><th>Name</th></thead> <tbody> [#list records
[jQuery] var $varname
what's the difference between: var varname var $varname obviously I think 2nd is a jQuery variable? If that's the case why should I care and where is the docs on that?
animate() grabbing background in parent. IE7 render error?
I had posted this before and had abandoned it in favor of just running different non-animating code for IE flavors. But the client wants the slide. Here's the test page: http://www.rooxilist.com/bbnlev/innovation_slide.html The div, #content slides in from the right. $("#content").css({'margin-right' : '-651px' }).animate( { marginRight: "0px" }, 1200 ); Works GREAT in all browsers, except, apparently, IE7. In IE7 the background image in the parent, #bgfield, tracks with #content and ALSO slides
Help - CSS + Jquery menu ... parent .. children not working!
Dear Guys I am a bit of a noob when it comes to Jquery but have been hooked ever since i started using it. To put you into the right atmosphere .... I first created the following HTML <ul class="main"> <li class="menu"><a href="#">Home</a> <ul> <li class="sub"><a href="#">Home</a></li> <li class="sub"><a href="#">Home</a></li> <li class="sub"><a href="#">Home</a></li> <li class="sub"><a href="#">Home</a></li> <li class="sub"><a href="#">Home</a></li> </ul> </li> </ul> I then styled this using CSS
Help with Tabbed interface
Hello, long time reader first time poster, I would like to preface this by saying i am very well aware that there are many existing tab scripts/plugins, that is not what Im looking for, I would like to why mine isnt working, that being said, here we go: <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Tabs</title> <style type="text/css"> body { margin:0; padding:0; } #wrapper{ margin:0; padding:0; width:504px; height:20px; margin-left:auto; margin-right:auto; } ul{ margin:0; padding:0;
[jQuery] input validation
is there a way to prevent user from adding more characters into a text input based on a validation rule(eg. you entered more than n words, you can't enter more, but you can delete or edit)? I think I'll have to programmatically delete the extra letter(s) that user just input somehow if the addition causes a violation of the rule, is this the best way? thanks
[jQuery] galleriffic conflict with jquery .animate
Hi there, This is a bit all new to me - this is the first project i have worked with jQuery. Here is a link to the issue: www.origin.ie/testarea/index.html The issue I have is my site contains a .animate all images on a page [they fade in]. I have an animated slide panel to the top of the page [gallery/download/contact]. This is where the issue is. On the link page above, the Gallery section - if you open it up you can see that it loads the first main image [as this is loaded even when panel is hidden].
Problem with JQuery, TextArea and Firefox
Hi there, I can't work out if this is a bug in firefox, jquery or my code. It is probably the latter but you never know... My code is supposed to update the text in a textarea based on the value selected in an option list. It works perfectly in IE7 and it seems to work in FF 3 - until you make an edit to the text in the textarea at which point it simply ceases to work with no errors reported. Check it out here... http://www.pm-uk.net/testing/jquerytest2.html Has anyone else come across this problem
[jQuery] Thoughts on creating a hoverable alphabetical list
I'm trying to figure out a good way to approach this. Basically here's a shot of what's needed. http://stuff.exit42design.com/grabup/475e4d0e25eaf92eefcecdd23af0b0c6.png It's an alphabetical list of letters down the left column. When you hover over those letters, a list in a block on the right side (with overflow hidden) moves up or down to the letter that's being hovered over. It's sort of reminiscent of the iPhone alphabetical list on the right side of the screen. I was thinking of creating the
[jQuery] function won't fire inside ajax-loaded box - new to jquery
Hello, I am fairly new to jQuery so if this is obvious please be gentle :P I am currently trying to get a plugin script (or any script for that matter) to fire when used inside of a div that contains content that was loaded using AJAX. In this case I have a page that onLoads a user input form into a div using AJAX. The jQuery plugin I am using is Autotab (http:// www.lousyllama.com/sandbox/jquery-autotab) which is used to automatically tab through the phone number fields (555 'tab' 321 'tab' 4567).
[jQuery] Validate first and the carry on
I am using some jquery code to validate a form and then post the results of the form via an ajax request to a script. I am struggling with the code as when I click submit the form validates but then also makes the ajax request. What I would like to be able to do is validate the form and then if the form checks out ok then I would like the other code to run. I am using the plug in http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js I am new to jquery, I understand the validation how
[jQuery] OBject Required IE8
var v = $.browser.msie && !(op.attributes['value'].specified) ? op.text : op.value; HI all, first timer.. I realise this was posted before but the problem persists. I'm using the latest version of the jQuery Form plugin. Apparently it's an IE8 thing cos the line works fine in compatibility mode. The lines above break on error, the error message being Object Required. Any ideas? Cheers, MI
[jQuery] jQuery MultiSelect - multiple selection combobox
hi, I am using the multiple selection combobox It can find in the following links: http://abeautifulsite.net/notebook/62 http://abeautifulsite.net/notebook_files/62/demo/jquery.multiSelect.html But I am having a problem. I need to get all items selected (or checked) in the multiple selected combobox Do you know, how do I get the items ? greetings
Next Page