2,530 Topics

Member Avatar for
Member Avatar for mrcpp

Hi, a few time ago I posted a thread about a page in ajax/js/html that didn't work correctly. At first, I thought it was solved, but now I see it is not. I am trying to make a gallery using jCarousel, and it used to be very buggy until it …

Member Avatar for mrcpp
0
120
Member Avatar for sun-tzu

Ok, so I am building a website, and am trying to use jquery to get video thumbnails from YouTube and pass them into the corresponding images. I am still fairly new at jQuery and could use some help with the code. Here it is: [CODE] $(function() { $(document).ready(function() { var …

Member Avatar for vsmash
0
137
Member Avatar for puvi

Hi frens I have a row containing 3 text field and a dropdown. the user enters details into the textbox and chooses a option from the dropdown. User may choose to save the details or add more details by clicking on Save or Add Row button resp. If the user …

Member Avatar for six_sic6
0
4K
Member Avatar for devinodaniel

Hey friends, I have a drop down box. onChange of that drop down box the option selected is $_POSTed to a php page where I'm grabbing that name and using it in a form on the new page. Instead of it opening a new window for the php page, I'd …

Member Avatar for Agarsia
0
161
Member Avatar for jbennet

How to do a HTTP PUT/DELETE? (Using jquery) . Im making a REST-ful twitter-type aplication using Java Servlets etc... and i have the methods for handling PUT and DELETE, i just need to be able to perform these e.g. when a user submits a form (with the id of the …

Member Avatar for jimforsyth
0
337
Member Avatar for EvolutionFallen

Hi, I'm having trouble submitting a form using a link. I have a table that lists a bunch of data, and I want to allow users to edit the data directly in the table. The user can click the "EDIT" link, which makes jQuery replace the appropriate <td> html with …

Member Avatar for severman
0
717
Member Avatar for benjaminFowl87

The easy slider found here. [url]http://cssglobe.com/post/5780/easy-slider-17-numeric-navigation-jquery-slider[/url] I have it set to slide automatically and continuously however when you click previous or next and leave it, the scrolling will stop. Has anyone implemented something to make it so that the sliding continues or know of a way to do it. Any …

Member Avatar for benjaminFowl87
0
344
Member Avatar for trance girl

Hi, I'm having a problem with selecting only the first child of my content tree. What I have is [CODE]<div id="Ft"> <ul class="Ft_colum"> <li><h3><a href="#">Home</a></h3></li> <li><a href="#">Demo link</a></li> <li><a href="#">Demo link</a></li> <li><a href="#">Demo link</a></li> <li><a href="#">Demo link</a></li> </ul> <ul class="Ft_colum"> <li><h3><a href="#">News</a></h3></li> <li><a href="#">Demo link</a></li> <li><a href="#">Demo link</a></li> <li><a href="#">Demo …

Member Avatar for jpietrangelo
0
116
Member Avatar for Tomby101

Hello I'm having problems validating cloned elements. Apologies for the amount of coding posted but I thought I may as well put it in from the start. [B]This is a sample of the original div:[/B] [CODE]<div id="addDriver1" class="clonedInput"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="<?= $editDriver; ?>"> <tr> <td height="25" align="left" …

0
49
Member Avatar for ruthie264

Hi everyone, I am a complete newbie so please be gentle with me.If my question is silly and impossible please tell me I have followed a tutorial and made a slideshow on my webpage like the one here [url]http://demo.tutorialzine.com/2009/11/beautiful-apple-gallery-slideshow/demo.html[/url] I have used divs and same script. I am trying to …

0
65
Member Avatar for samsons17

Hi all.. I got this code that dealing with ajax..Basically the ajax code is to get the data from the html element and insert it to the database. this is ajax and the html code : [CODE] <script type="text/javascript"> $(document).ready(function(){ $("form#post_reply").submit(function() { var discuss_text = $('#discuss_text').attr('value'); var test5 = $('#test5').attr('value'); …

Member Avatar for six_sic6
0
7K
Member Avatar for six_sic6

Hi, I can pass an array through jquery ajax. [CODE] var regSubCodeArray = new Array(); var temp = 9; var i; for(i=0;i<temp;i++) { subname = 'sub'+i; subcode = 'sub_code'+i; subcredit = 'sub_credit'+i; regSubCodeArray[i] = document.getElementById(subcode).innerText; } $.ajax({ url: "testArray.php", type: "GET", data: "page="+regSubCodeArray, cache: false, success: function (html) { $('#ttl').html(html); …

Member Avatar for pritaeas
0
2K
Member Avatar for devinodaniel

Hello friends, Props to anyone who can help me out on this because I have a feeling it's going to be quite complicated. I've searched and searched and can't seem to find the right answer so I've decided to resort to the brilliance of these forums. Here's my scenario: I …

Member Avatar for devinodaniel
0
1K
Member Avatar for canterorist

hi! I would like to know how to use jquery in sliding left to right? Can you give me simple sample there.. thanks in advance.

Member Avatar for canterorist
0
184
Member Avatar for skald89

[url]http://s56.photobucket.com/albums/g194/flameingulfedpyro/?action=view&current=slideshow.jpg[/url] In the picture I have a picture div and a text div. The picture and text are related to one another. I want it that when you click the right or left arrow the pic and text change together. I dont really care how they change, slide, fade, or …

Member Avatar for pritaeas
0
158
Member Avatar for Acute

Hi everybody, I have a js(using jQuery lib) file where all events and following actions(functions) are written. For one of such events there is a function that prepends one more similar element from which prepending was called: $("[COLOR="Red"][B]#id1[/B][/COLOR]").click(function(){ $(...).before("<div [B][COLOR="Red"]id='id1'[/COLOR][/B]></div>"); }); so that when I will click to just prepended …

Member Avatar for Acute
0
81
Member Avatar for Acute

How to send [COLOR="Red"][U]ANY[/U][/COLOR] text via jquery ajax method to php script? When text entered in textarea is html entity, php $_POST[]/$_GET[] sees it as empty string. Here is the code: [CODE=html] <head> <script type="text/javascript" src="/Engine/js/jquery-1.4.4.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $.ajax({ type: "GET", url: "get.php", data: "ta=" + $("#ta").val(), success: …

Member Avatar for McLaren
0
169
Member Avatar for cj333

[CODE] page = $("<div id="content"><p>aaa</p><p>bbb</p><p>ccc</p></div>").find('p').eq(0); [/CODE] This can echo `<p>aaa</p>` but How to select multi `eq()` in jqeury? if I need `<p>aaa</p><p>bbb</p>`

Member Avatar for bvelez352
0
97
Member Avatar for Acute

Hi everyone, I have a jquery script that prepends a <div> tag on button click. Additionaly in this script there are some jquery effects(like slideDown) applicable to <div> tags that were before(and for them effects work fine) and also to <div> which was prepended. However, after new <div> is prepended …

Member Avatar for bvelez352
0
62
Member Avatar for HelenLF

I have a JQuery script that gives a neat effect on the navigation and want to include a simple fading slideshow on the same page. Any script I have tried for the slideshow either uses JQuery or Mootools and it conflicts with the navigation script. Can anyone recommend a smooth …

Member Avatar for pritaeas
0
80
Member Avatar for cj333

I modify a php comment system. I want add it after every article witch are query from database. this is the php part [CODE]<?php ... while($result = mysql_fetch_array($resultset)) { $article_title = $result['article_title']; ... ?> <form id="postform" class="postform"> <input type="hidden" name="title" id="title" value="<?=$article_title;?>" /> <input type="text" name="content" id="content" /> <input type="button" …

Member Avatar for cj333
0
203
Member Avatar for Mapper99

I have a simple jQuery click handler that animates the change of a divs background image. I would like to create some reusable code so I would not have to copy my code for every div I would like this effect on. How would I go about this? [CODE] <style …

Member Avatar for Airshow
0
153
Member Avatar for youlichika

I need click `ben10` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. click `winx` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. click `pocoyo` that `<h2>you voted</h2>` will display in its' child `<div class="message"></div>`. but my code not worked. can anyone help me? and if I …

0
61
Member Avatar for McLaren

Here is the button: [CODE] <input class = "preview" type="submit" name = "Preview" value="Peržiūrėti" /> [/CODE] and here is the submit: [CODE] $('input.preview').click(function() { $('form').attr( 'target', '_blank' ); document.myform.submit(); }); [/CODE] So when I submit with jquery, and try to get with php the data [CODE] print_r($_REQUEST['Preview']); [/CODE] It does …

Member Avatar for McLaren
0
129
Member Avatar for newbie14

Dear All, I am not so clear about jQuery actually what is it and how it function and different from Ajax? Can some one help me clarify? Now I required a functionality where I can drag and drop with the backend mysql capability to update the db. What will be …

Member Avatar for newbie14
0
83
Member Avatar for vuyiswamb

Good Day All I have a web Method defined like this [CODE] [System.Web.Services.WebMethod] public static bool CheckSessionExpiration() { System.Web.HttpContext.Current.Session["CurrentLoginUser"] = null; //This is for Testing Purpose if (UserSecurity.GetLoggedInUser() == null) { return false; } else { return true; } }[/CODE] and in Jquery i have a function that calls this …

0
68
Member Avatar for bello.ojo

Hi all, Please can somebody tell me where to get good tutorials on AJAX and jQuery for beginners.

Member Avatar for McLaren
0
53
Member Avatar for andrewliu

Hello, I'm displaying information, but I'm trying to figure out how to create a button that says "change details" and in the exact place of the displayed information, there will be input fields where you can change details ex: Color : Blue Size : Large (link or button for change …

Member Avatar for AleMonteiro
0
83
Member Avatar for McLaren

Hi, I have a button: [CODE]<input class = "save" type="button" value="Išsaugoti" />[/CODE] As you can see the type is not submit, it is just button. This is because I want to not allow submission if javascript is disabled. To submit I run this code: [CODE] $('input.save').click(function() { $('form').attr( 'target', '' …

Member Avatar for McLaren
0
108
Member Avatar for schalkl

Hi Guys The following question is related to the following url: [URL="http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/"]http://www.sheltonwebdevelopment.com/blog/2010/03/01/calculating-totals-with-jquery/[/URL] I have just a small question now regarding the dropdown. I am sure its related to an 'id'. Here is my script: [CODE] 1. <td><?php echo "<select name=\"field1\" class=\"qty\" onchange=\"calcTotal();\">"; ?> 2. <?php 3. for($i=0;$i<=50;$i++){ 4. echo '<option …

Member Avatar for Airshow
0
139

The End.