2,536 Topics

Member Avatar for
Member Avatar for danielpataki

Hi Everyone! I don't think this is a hard question for all of you well versed in javascript and jQuery, but I seem to be having some problems. I am building a forum and I am experienced in PHP, MySQL and even in jQuery now somewhat, but I have run …

Member Avatar for hengzhe
0
151
Member Avatar for arunajasmine

Hi, i am doing an application which make use of JQuery and Cakephp . In this i am using like the following to retrieve the values from my controller side [CODE] var getformid; $.getJSON("http://localhost/FormBuilder/index.php/forms/getFormEntry", function(json) { getformid=json.forms[0]["id"]; alert("Form id inside "+getformid); });//json alert("Form id ouside "+getformid);[/CODE] In the above code, …

Member Avatar for Airshow
0
1K
Member Avatar for arunajasmine

Hi, i am doing an application like a Form builder.. I am having a design page where i am generating the Fields using JQuery and displaying them each in a Div in the Preview panel of the same page. In my code i am saving all the Fields in the …

Member Avatar for JugglerDrummer
0
149
Member Avatar for arunajasmine

Hi , In my application, there is a view page to show the table of Attributes name as the header and its value filled by many people below. Like Name Age salary a 22 18912 b 23 89972 c 23 781273 i want it like above .. But i am …

Member Avatar for arunajasmine
0
134
Member Avatar for tanha

Hi. Suppose I have a list box, which is filled out from mysql, and I have a text box and a submit button. I want to add the text box data into list box and at the same time I want to have the text box data into mysql as …

Member Avatar for tanha
0
261
Member Avatar for Angeline5

Is there a foreach code in JQuery as in PHP? I have a code in php,like [code] <?php foreach ($viewfields as $viewfield): ?> if("<?php echo $viewfield['Attribute']['required'];?>"=='true'){ $("<span class='req'><em> * </em></span>").appendTo("#fb_contentarea_col1down21 #label<?php echo $viewfield['Attribute']['sequence_no']?>"); } if(<?=$viewfield['Attribute']['type'];?>=='text'||<?=$viewfield['Attribute']['type'];?>=='date'||<?=$viewfield['Attribute']['type'];?>=='number'){ $("<input id=input<?=$viewfield['Attribute']['sequence_no'];?> type= 'text' style= 'width:<?=$viewfield['Attribute']['size'];?>px' data-attr=<?=$viewfield['Attribute']['type'];?> ></input><br>").appendTo("#fb_contentarea_col1down21 #<?=$viewfield['Attribute']['sequence_no'];?>"); } else if(<?=$viewfield['Attribute']['type'];?>=='textarea'){ $("<textarea style= 'width:<?=$viewfield['Attribute']['size'];?>px' …

0
42
Member Avatar for tanha

Hi, I have a Book Registration Form, in which one book may have more than one authors and can belong to more than one category, therefore on the registration form, I have a textbox for the category, in order the category is not in the dropdown, I want to add …

Member Avatar for tanha
0
117
Member Avatar for prax072

I am trying to dynamically populate a select box with Jquery and JSOn in my VB.Net ASP.Net application. The event is triggered in the selectedindexchanged of another ASP Dropdownlist in the page. I am getting my selectlist populated (thanks to [url]http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_and_JSON.aspx)[/url]. i am passing two values to the select box. …

Member Avatar for prax072
0
174
Member Avatar for Lolalola

hi, i use AJAX, framework - JQUERY. Now all information show in one table( <div id = "user">). [code] var user= setInterval(function() { $('#user).load(user.php?id='+ Math.random()); }, 5000); user.php: $rez= mysql_query($sql, $db) or die("Error"); while($r = mysql_fetch_array($rez, MYSQL_ASSOC )){ $name= $r["name"]; $time= $r["time"]; [/code] But how make this: $name show in …

Member Avatar for Lolalola
0
440
Member Avatar for chiwawa10

Hi all, I am having trouble trying to load contents on a tab in accordion on the fly. Which means, the content for a particular tab will only be loaded and displayed when user click on it. Is there any example available? I am still trying it with Ajax. I …

Member Avatar for ayesha789
0
80
Member Avatar for blackcorner

How can I create a white loading page like GMail, and when the content of the page is loaded then replace the white page with the original one. I'm using ASP.NET with jQuery. Thanks in advance.

Member Avatar for Ramesh S
0
69
Member Avatar for borntowin_786

I have used this code for ajax pagiantion JS file - [code=JavaScript]document.getElementById('divname').innerHTML = content; ajax.callPage("URL"+str, ajaxSearchFilter); tb_init('a.thickbox, area.thickbox, input.thickbox');//pass where to apply thickbox imgLoader = new Image();// preload image imgLoader.src = tb_pathToImage;[/code] Php file - [code=php]<td colspan="2" align="center"> <?php if($page != 1) { $pageno=$_GET['page']; $pageprev = $pageno-1; if($_GET['city_name'] != "") …

Member Avatar for Airshow
0
59
Member Avatar for sunglasses

So I'd like to get rid of the insecure warning I get in IE6-8 whenever I'm on an HTTPS page like this one: [url]https://checkout.netsuite.com/s.nl/c.659197/n.2/sc.37/.f?login=T&reset=T[/url] I can't tell what's not loading, but I'm assuming the two errors I got in Companion.JS v0.5 in IE7 are clues: 1) 'jQuery' is undefined (line …

0
53
Member Avatar for franko75

Hi, I have a slideshow set up on my site which allows users to click back and forward to view images - the transition is an animated slide to the next image. But I now want to set up an automatic fade, which fades in the next image on a …

0
75
Member Avatar for cjay175

Hi all, Thanks for any help anyone could give. I am using Jscrollpane to customize my scroll bars. I have the plugin working but what I am wondering is how to implement scrollBy function to scroll by paragraphs. This is what I currently have: Head section script: [CODE] <script type="text/javascript"> …

0
54
Member Avatar for jaykom

[code]$(document).ready(function() { var childrenEle; function toggleReq() { $('fieldset.fieldsetClass').each(function() { id = $(this).attr('id'); $("#" + id).children().not("div,legend").each(function () { var divEle = $("div").attr('id'); if($(this).attr('class') == 'required') { $(this).css("display","block"); } else { $(this).css("display","none"); } }); }); } function toggleAll() { $('fieldset.fieldsetClass').each(function() { id = $(this).attr('id'); $("#" + id).children().each(function () { $(this).css("display","block"); }); }); …

Member Avatar for mschroeder
0
118
Member Avatar for jcanaway

alright i am working on jQuery - UI Sortable Portlets and im trying to pass serialize on to the php so i can update my database with each displays column, and position so it will save for my users i have what I've done so far below if anyone know …

Member Avatar for jcanaway
0
471
Member Avatar for Loyen

Hello fellas, long time no see. :) I am getting into jQuery a bit these days, and I was wondering, how do I make a function, which shall be reusable more than once, which shall be making a popup window come up and position itself under the clicked item aligned …

Member Avatar for Loyen
0
75
Member Avatar for DelphiLynx

While I have hundreds of draggables, the performance is very dramatical. So I want to hear from you if its possible to write code around it. Have you devs a solution to create a draggable on the mousedown event? The problem I face now, is: that I can create on …

Member Avatar for zido85
0
263
Member Avatar for rouse

I was looking at the JQuery for absolute beginner instructional video where I was shown how to add and remove an item for an unordered list. The demo assumed that you had one unordered list on a page. I tried to create a demo where there are two unordered list …

Member Avatar for chridam
0
150
Member Avatar for Sanit

I have this bit of code that I am using in a project which I got working on a test webpage, and then when I tried to implement it on the real webpage, it all works, except for the jQuery effects. Here is the code: [code=Javascript] $(function(){ $("a.vote_up").click(function(){ //get the …

Member Avatar for Sanit
0
129
Member Avatar for hi.meral

my basic question is that can i use the jquery insted of php syntax ? For example i developed a site in simple php, now i want to change the code for security perpose in jQuery.. Can I ??

Member Avatar for hi.meral
0
118
Member Avatar for seanooi

Hi guys, I have no experience with jQuery or php at all besides the ones I see in Wordpress and the functions I included in my themes so forgive me if I sound stupid. I'm trying to include the .scrollTo function in my theme, and was wondering if it's possible …

0
63
Member Avatar for Sirabbub

I've got a problem with a web application that runs slow when called by JQuery? Below I will be summarising the structure of the application, but just to say that it is hanging inconsistently and unpredictably as if the (dedicated) webserver runs out of memory or too many database connections …

0
64
Member Avatar for shasha821110

Hi, all. I am implementing the final now. Here is one jquery syntax i want to ask. I have been stuck by this problem more than hours. Here is what i did HTML part [CODE = html] <table> <tr> <td> table head </td> </tr> <tr id="mytr">//here i want to get …

Member Avatar for shasha821110
0
78
Member Avatar for rouse

Two related jQuery questions. Is there a way in JQuery to slide to a particular point such as slide 10px or slides to a DIV, the parameters passed in the functions are speed and callback. Second questions: I was hoping I could filter on a name with a jQuery option …

Member Avatar for rouse
0
62
Member Avatar for Syakoban

Hi, I'm not much more than a[I] jquery cut and paste - change a simple user definition[/I], guy. I can't write javascript... So, I was trying to marry two jquery "animation effects" in one page and apparently have a conflict. The two things work separately but it seems that there …

0
53
Member Avatar for spiderling

I have set up an admin area for users to sort thumbnail photos, which is within an accordion widget and works well. However, I would like to add the ability for them to drag any photo they want to delete to a trash bin image. This would delete the photo …

0
104
Member Avatar for bhavik_thegame

Hello Guys, Is there a way or module I can integrate drupal along with jquery?

0
89
Member Avatar for gilroda

Hello, I need help with embedding links within a Jquery Accordion. The code I am using is based on [URL="http://jquery.bassistance.de/accordion/demo/"]Jörn Zaefferer's JQuery Accordion plugin[/URL], with some modifications to allow for an embedded link within each accordion div. The accordion effect looks and works just fine when viewed in Safari and …

Member Avatar for gilroda
0
184
Member Avatar for Eko

Hey guys , While playing with jquery i've come across the following situation : [code] $(document).ready(function(){ $("div")[0].css("background-color","blue"); }); [/code] I get an error everytime i try to call any method on a particular element from the wrapper set . I tried with the get() [code] $("div").get(0); [/code] Same stuff . …

Member Avatar for Eko
0
199
Member Avatar for justinmyoung

I am wondering if it is possible and how I would go about doing it if I wanted to use jQuery to sort with my PHP results on my page, does jQuery handle that? thanks for any advice

Member Avatar for Shanti C
0
91
Member Avatar for flopoloco

Hello, I would like someone experienced in JQuery framework help me a 2-level accordion menu for my website. Here you can get a working example... [URL="http://jquery.bassistance.de/accordion/demo/"]http://jquery.bassistance.de/accordion/demo/[/URL] For instance if you could modify the first example (Standard, container is a div, header is h3 and content div and nested p), what …

0
76
Member Avatar for thosecars82

Hello there I wanted to ask you whether it is worth or not using tools such as jquery or prototype comparing them to javascript. What do you suggest? Using those libraries or rely just on javascript? I knew javascript but I have got to know recently these libraries which seem …

0
51
Member Avatar for redrum_ub

Hello, I have this problem with slider (jQuery) which contains scrool bar. In Firefox when slider is clicked, it slides to the left, but leaving trace of a picture over the video. The link for the page is [URL="http://gewiss2.digid.tv/"]HERE [/URL] Click on any of the videos at the botom of …

0
56
Member Avatar for EnderX

Anyone ever heard of that before? I'm running AVG as my antivirus software, and it flagged that thing a few minutes ago. I've been trying to find out information about it in hopes of minimizing loss (I'm on my work computer, which means that any kind of hit is a …

Member Avatar for gerbil
0
80

The End.