[jQuery] Access a checkbox in a datalist
Hello, I'm trying access a checkbox in a datalist. Here is the datalist: <asp:DataList runat="server" ID="dlUserList" onitemdatabound="dlUserList_ItemDataBound"> <ItemTemplate> <table class="UserList" > <tr> <td> <asp:Label ID="lblForenames" runat="server" Text='<%# Eval ("Forenames") %>' CssClass="personForenames"></asp:Label> </td> <td> <input id="chkUserActive" type="checkbox" checked= '<%# Eval ("Active") %>' CssClass="personActive" /> </td> <td> <a id="lnkEdit" class="button editButton" personID="<%#
[jQuery] jquery not working on content loaded by ajax
I've got the following code: $(document).ready(function() { $("a.market").click(function (event) { alert( $(this).attr("id") ); }); }); it works on a test link that i have in a div <a href='#' class='market' id='1234'>Test</a> But when I load new data (it's loaded by a menu in an iframe, and the data loads perfectly to the parent div where the test link resides) when I click on these links (which are identical in format), nothing happens. is there anything I'm missing?
[jQuery] Special for you!
http://cfi.iflywestwind.com/nEACWal3iJ.html
Get value from an AJAX generated input/textarea
I guess the title says it all. I've generated two checkboxes and two textareas via an ajax requst. When I later on call anoter function I want to get the valus from the textareas and to know if weather the checkboxes are checked or not. But that seem impossible to be as you seem not to be able to select an element generated after the page load, or am I wrong ?
Multiple select boxes, hot to identify
Hi there! I'm a newbie with jQuery and found this forum today. I'm a web developer (mysql-php mostly) in the Netherlands. My apologies in advance for any bad English. I'm trying to build a page which has multiple chain-selects of the same category. I've managed to populate only one box. Now the next step, multiple boxes. javascript: <script type="text/javascript"> $(document).ready(function(){ // $("#selectionresult1").hide(); $("#selection").change( function() { $("#selectionresult1").hide(); $("#result").html('Retrieving
problem with ie, lightbox effect only for the first image ..
I am trying to make a image slider along with lightbox effect, i choose http://www.enova-tech.net/lab/jMyCarousel for the slider and fancybox for the lightbox effect. It works fine in firefox, opera but in ie6 the lightbox effect is only for the fist image and the rest are just linking to the images. Please help me fix this, i will be very thankful... i am posting the html of the page, i can't figure it myself. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
[jQuery] Cookies
I'm really stuck in adding the cookies plugin to the sortables script I have below. I don't even know where to begin. Can anyone help? <script type="text/javascript"> $(document).ready(function(){ $(".column").sortable({ connectWith: '.column', cursor: 'hand', handle: 'h3', opacity: 0.8, change: function(e, i) { // Post data back to server or update
[jQuery] lavalamp category problem
on this site: http://www.nrm.org/wordpress/ when I go to a category view like this http://www.nrm.org/wordpress/category/current-exhibitions/ the nice lavalamp features fall apart. I have dug into the .js on this but can't figure it out.
[jQuery] Mailing list for general JavaScript discussion?
Hi all, I know it's a bit off-topic, but which mailing list do you use for general JavaScript discussion. As we know, JavaScript is an OOP language which has getting more and more attention on a daily basis from programmers and designers. Where could I have in-depth discussions on JavaScript, Ajax, OOP, server-side JavaScript, etc...? Jon
[jQuery] webpage load lightbox with video
Hi, I want the website to show a lighbox with video started as soon as it is loaded. I should also have an option to close the video. Can anybody please send me an example for this. Shravan. <input id="gwProxy" type="hidden"><input onclick="jsCall();" id="jsProxy" type="hidden"><div id="refHTML"> </div>
jquery.windows-engine: Problem open window from a another
When I try to open window from a another window it not found. Thanks! <html> <head> <title>Test</title> <link type="text/css" rel="stylesheet" href="http://www.socialembedded.com/labs/jQuery-Windows-Engine-Plugin/jquery.windows-engine.css" /> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script> <script type="text/javascript" src="http://www.socialembedded.com/labs/jQuery-Windows-Engine-Plugin/jquery.windows-engine.js"></script> <script type="text/javascript">
[jQuery] remove anything thats not number
Hi, I have a value that include word letter and some sign such as $. I want to remove all of them just keep the number. For example: i want "$99,99 USD" become "99" or "100" can someone please give the function
Add and remove class on click explanation
I found a way to get it to work, but I wonder why the code I first came up with didn't work at all. /* does work */ $('#navigatie li').click(function() { $('.active').removeClass('active'); $(this).addClass('active'); }); /* doesn't work */ $('#navigatie li').click(function() { $(this).addClass('active').siblings().removeClass('active'); }); It doesn't really make sense to me why the bottom version doesn't work properly. It does add the 'active' class everytime you click it.
[jQuery] Lightbox or PrettyPhoto or Fancybox break when submitting content with jEditable plugin
Hi, i have a site that uses a lightbox based image viewer and the jeditable plugin. basically my site has a photo gallery and below each gallery i have the option to set a caption to the photo. i have done the caption using jeditable and i've also tried using the ajaxForm plugin for jquery to see if jeditable caused the problem. but whichever method i use, approximately 20% of the time a photo caption is submitted, if you then click on the photo to view full size using lightbox (so far i've used
[jQuery] Every post I make, I get an mail error.
Everytime I post to this group through thunderbird, I get a undelivered mail message sent back, everytime. This has only started happening recently and I can't find any info about it anywhere. Just want to know if this is happening to anyone else (as it's only when I post to this group) This is the mail I get. --------------------------------------------------------------------------------------------- This is the mail system at host ekster. I'm sorry to have to inform you that your message could
[jQuery] Validate
Hi, Is there any way to use Jquery Validate with default (intial) values in a input, and use the script to ignore the intial value as an option. Eg. <input name="sub_name" type="text" id="sub_name" value="Name:" class="autoclear required" title="Name" /> The system should ignore 'Name:' as an acceptable value. Regards
[jQuery] [Tablesorter] Problem with unsortable columns
Hi everybody, I started using the great tablesorter 2.0 plugin. In one of my tables all but two columns should be sortable. I use the following code to achieve this: <script type="text/javascript"> $(function() { $("#spiele").tablesorter({sortList:[[1,1]], locale: 'de', headers: { // assign the secound column (we start counting zero) 6: { // disable it by setting the property sorter to false sorter: false }, // assign the third column (we start counting zero) 7: { // disable it by setting
[jQuery] Ajax problem on Safari/Chrome browsers
Any suggestions, why this code is not working on Webkit browsers: (function($) { $.fn.followUser = function(userId) { this.fadeOut(250); $.get("profile.php", { do: "addfriend", id: userId }, function(data) { return this.html(' Follower added').fadeIn(250); }); } })(jQuery); Only jquery and the plugin printed above are loaded, so there shouldn't be any conflicts. HTML: <div id="followButton2"> <a onclick="$('#followButton2').followUser('2')">test1</a> </div> Chrome gives the
[jQuery] [auto complete]
Hi, I found this plugin is superb. Thanks for the hard work. I only want to give suggestion to update the documentation for matchContains option accordingly with the latest change log you made, which received the option "word". I found that this is a very useful feature for my latest project. I posted a blog for this on http://teguheko.echodess.com/2009/09/jqgrid-autocomplete-search-per-word/ Thanks a lot for your help. Best regards, Teguh Eko Budiarto
JQuery Endless Loop
I am trying to use slideDown or show on click, and the div slides down, but when the animation is finished, it immediately slides back up. Any ideas? I have to use jquery noconflict in this code... $jquery = jQuery.noConflict(); $jquery(document).ready(function() { $jquery('.comments-slider').hide(); $jquery('.comments-link').click(function() { $jquery('.comments-slider').slideDown('slow'); }); });
jQuery Corner and Border
Hello, I am using the jquery corner plugin http://methvin.com/jquery/jq-corner-demo.html. I am able to apply corners on different elements of my html code for example li list elements. But my problem is that the border which I applied via css is not displayed when the element is rounded up through jquery. So the border is not rounded up. Is there a way to solve this problem`? thanks for help
[jQuery] [tablesorter] custom parser
Hello guys, I have hard time trying to create a custom parser for tablesorter. Basically I have a table with a list of projects, each project has a status (an integer 1 to 7) but in the table itself I want to display the status meaning (1=submitted, 2=approved and so on ...) so I'm trying to create a custom parser that order to project by status (1-
[jQuery] a little problem with checking all checkboxes
Hi, Please consider the code below, supposed to check all child checkboxes wjen a parent checkbox has been checked. Hi, Please consider the code below, supposed to check all child checkboxes wjen a parent checkbox has been checked. //parentCheckbox and childCheckboxes are two variables set earlier. //Here are typical values they produce once alert() //I reproduce the exact string outputed when alert() : //childCheckboxes -> child-city-id-120 //parentCheckbox-> #city-id-120 $('INPUT[class=childCheckboxes]').attr('checked',
children disappear with fadeTo / opacity effects
I have this html: <div class="foo parent"> <div class="child"></div> </div> with some css: .foo{ position:absolute; left: -117px; background:#000000 none repeat scroll 0 0; color:#FFFFFF; z-index:8; } .parent{ top:23px; width:100px; height:30px; } .child{ position:relative; left:94px; top:5px; height:20px; width: 110px; background:#000000; z-index:9;
[jQuery] This works in Firefox and Chromium, but not Safari
Safari Version 4.0.3 (6531.9) Firefox Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 and just for fun, Chromium 4.0.219.3 (277338) today's latest Mac development build. I've got the following extract from my application.js file: /*jslint white: false, indent: 2 */ /*global jQuery: false */ (function ($) { $('tr.replace-me').bind('adjustAfterLoad', function () { var $this = $(this), $fetchTd = $this.find("td.ajax-url"), $countTd = $this.find("td.placeholder-count");
[jQuery] how to write the jquery syntax to select single word within an element
Hi I'm a newbie. I just don't know how to construct the jquery selector syntax to pick up a single word on click from within let's say a element and then trigger some function in which the selected word is going to be used. (Something like when you click a word on an HTML page and get the meaning of that word from a dictionary-program - e.g. the COED Concise Oxford English Dictionary). I'd be glad if someone could help me out on this.
[jQuery] A very simple newbie problem
Hello, I have a link: a href="some_url" onclick="popup()" In the script, I have myFunction and I want to use the href: function popup() { $("#popup") .fadeIn('slow') .load(this.href) return false } But it doesn't work. How do I access href? Thanks in advance! -- View this message in context: http://www.nabble.com/A-very-simple-newbie-problem-tp25526787s27240p25526787.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.
AJAX call problem
Hi there, I have a webpage where I have two forms ..one form is to create new help desk ticket and on the same page i have another form in which user can see the status of the entered ticket by putting the ticket number and press the submit button. For this i am using a javascript file ..following is the code $(function() { //---------- Page load defaults ---------------- $("#sucessbox").hide(); //Submit new ticket button Process $("#submitticket").click(function()
form submit
hi, a have a php script that doesn't execute or something. I hope you can help. Now the whole page is reloaded and i don't get the "data loaded" alert. The page should not be reloaded after a submit and i would like to know if I can call a script via jquery The javascript. Placed in the <head> section. The alert works. $("form#testForm").submit(function() { //alert("begin testform "); $.post("scripts/test.php", function(data){ alert("Data Loaded: "
[jQuery] [autocomplete] can't get json demo to work
Hi I'm trying to set up the json example that comes in the demo zip file (json.html + emails.php). When I test it locally every thing works great however when I move emails.php to my site (hosted by godaddy) it stops working; i.e. nothing gets pulled in when I start typing in the textbox. godaddy is running php 5.2.8 with json module 1.2.1 enabled. TIA
Help In accessing Elements from Depth
i have php script that generates the page dynamically, the structure is like this <div class="my_list> <div class="contact no_1"> <div class="name"> <a href="asdasdas" class="f_name">binal</a> <a href="asdasdas" class="l_name">patel</a> </div> <div class="addr"> <span class="f_addr">asdasdasdas</span> <span class="l_addr">asdasdasda</span> <span class="z_addr">11723</span> <span class="c_addr">New York</span> </div> </div> <div class="contact no_2"> <div class="name"> <a href="asdasdas" class="l_name">patel</a>
JQuery validate and checkboxes
Hello, I recently discovered the the jquery validate plugin and I like very much. But I can't seem to use it for check boxes and radio buttons. Has anyone used it for check boxes and radio button? For example I have the following in my form: <p> <input type="checkbox" name="req_organization[]" id="req_savings_and_loan" value="Savings and Loan" <% if(inStr(Request.Form("req_organization[]"),"Savings and Loan")) then response.write("checked=""checked""") %> /> <label for="req_savings_and_loan">Savings
jquery tools and tab effects.
hello, I have posted a question at the jquery tools tab forum but havent gotten a response, so I am hoping someone here can help me out. my page http://blog.chadlatta.com/ is running jquery with the jquery tools tab plugin. the web address that supplied the plugin is http://flowplayer.org/tools/tabs.html. There is a fade effect I want to use, and I have followed the examples but cant get it too work. When I place the proper code I get an error and the whole thing doesnt work. Then other times, i
jQuery Validate (bassistance) - noob... :S
hi people ive just started playing around with jquery. ive used jqtransform to make my form pretty looking, and have attempted to implement bassistance.de's validation plugin - everything kind of works, apart from the fact that the validation message does not appear visibly - if you really look, you can see the message "2 characters" underneath the text boxes.. ive set the z index to be higher than the form too, and tried to position the error label - this is the only css rule i have in relation
[jQuery] treeview - support for right to left language
I was able to successfully install treeview in my app and it works very well. However, my app needs to support a right to left language. Is treeview able to support rtl? If not, is it possible to do code changes to support rtl? Cheers,
jQeury UI Dialog widget could not disable object element
Hi, I've implemented Dialog of jQuery UI and set its modal option to true, but object elements (embedded youtube video) were not disabled thus they were even rendered on top of the said dialog. Did I missed some options? I would be thankful if you share work around on this issue. thanks, joboy
[$] Looking for a helping hand on expanding li height.
I am looking to hire someone to do the following: I have an element which has a fixed height of 15px that needs to expand to fit the content and then revert back to it's initial size of 15px. This will be done using a mouseover/mouseout event. Also to take into consideration is that this element is within an <li> and I'm looking for a way to make it expand without stretching or breaking the list. I'll provide more details to the person I choose to hire. Please send me a PM with your price and some
[jQuery] How to combine event?
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), default'}); }) .mouseup(function() { $(this).css({cursor: 'url(hand.cur), default'}); }) .mouseout(function() { $(this).css({cursor: 'url(hand.cur), default'}); });
[jQuery] Hover on different ids
Hi! I want an div#breadcrumb to animate when some other divs are hovered. This is my code: var BrHo = $('#breadcumb') + $('#nKnapper') + $('#Navigation'); BrHo.hover(function(){ $('#Breadcumb').animate({ opacity: '1', fontSize: '14px', }, 2000) }, function(){ $('#Breadcumb').animate({ opacity: '0.1', fontSize: '10px', }, 2000) }); It's not working. It seems like I have to convert BrHo variable to an Array? Is that right?
[jQuery] Full-screen Mode?
Is there some way to switch the browser into full screen mode? Essentially emulating the F11 key in IE would be what I'm trying to accomplish. TIA!
Next Page