2,530 Topics

Member Avatar for
Member Avatar for erum

can any one post me php/my sql sample code where i can have collapsable rows with jquery ... for example i have main row (parents rows)and all child rows row of each parent rows open when i click on any parent row.. Thnaks

Member Avatar for diafol
0
147
Member Avatar for yanwick

Hi, On google Chrome there is an event when someone closes the window that merely asks if you really want to leave ONLY. What i wanted was to know if there is a way in jquery or javascript that enables the logout code to be run on chrome,(or any other …

Member Avatar for diafol
0
442
Member Avatar for PF2G

Hi, I'm working on a website where i have the list of all products and its info: image, description, reference and a button to see more images of the product. I want to create a checkbox that when is checked all the info is hidden except the image. I'm using …

Member Avatar for stbuchok
0
268
Member Avatar for PF2G

Hi, Daniweb I'm working on a website where i did a search system and then i listed the results founded. And now i want to move them with JQuery Sortable. But i'm having dificults can someone help me please? Here's the code: <?php require_once('Connections/futura.php'); ?> <?PHP $prod=$_GET['q2']; $query_prod="SELECT * FROM …

Member Avatar for pritaeas
0
302
Member Avatar for soUPERMan

I have a calendar code that contains a table with the td for days of the month as follows: <td class="event"> <div class="eventList" title="Events For Today"> <ul> <li>Event 1</li> <li>Event 2</li> </ul> <br /> <a class="anEvent" href="#">[myDateHere]</a> </div> </td> *[myDate] refers to the day of the month... At the bottom …

Member Avatar for soUPERMan
0
152
Member Avatar for vizz

following is my code,It need to include function on index.php. But, I want to make it **counter.js** I tried my best but I failed to make that. can anyone help me? <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript"> // JavaScript Function $(document).ready(function() { $('.slogan_main').slogan_main(); $('.slogan_social').slogan_social(); $('#social_media').social_media(); }); $.fn.extend({ social_media: function() { return …

Member Avatar for vizz
0
997
Member Avatar for rkumaram

Hi, I am creating a small page with the help of jquery , What I want is when I click on **shortdesc** TR class, only the corresponding **fulldesc ** TR class should be visible. Currently Its showing all the **fulldesc** TR clasees. Please help me to solve this. Following is …

Member Avatar for rkumaram
0
226
Member Avatar for shandoosheri

hi i have this variable which looks like this ؛‎ ‎002005 And i want to split it into two halfs three each . What i want to do is to put the first 3 numbers in a new variable and to remove its starting zero padding to get only 2 …

Member Avatar for diafol
0
141
Member Avatar for kaosjon

Hi, i am trying to add some realtime form validation for my registration page, however only my email input is displaying the either correct or error output that it should, and neither my username or password are, I have tried for the past couple of hours to see what is …

Member Avatar for kaosjon
0
227
Member Avatar for phorce

Hello, I'm working on an image-gallery type application and I have got the images to work, in that the gallery works and the image changes at the particular interval. BUT, I need a way to stop the images changing when you mouse over the event. Here is what I have …

Member Avatar for Sahil89
0
99
Member Avatar for fobos

Hello, i have this piece of code that counts the number of words in a td based off the class of the td. It works find if all the words inside the td's are the same, but if i change one, it doesnt work. <html> <head> <script type="text/javascript" src="jquery.js"></script> <script …

Member Avatar for fobos
0
350
Member Avatar for Lefian

Hello all! I would like to ask for some help/guidance on how to achieve the following: I am currently working on a website where I have an image and next to it a jquery youtube player (http://badsyntax.github.com/jquery-youtube-player/index.html). Both of them work fine and are placed next to each other. However, …

0
170
Member Avatar for manzoor.ilahi77

<select name="country" id="country"> <option value="IN">India</option> <option value="PK">Pakistan</option> <option value="UK">United Kingdom</option> <option value="US">United State</option> </select> When a user selects a country and clicks submit php gets the **value=""** ie, country code instead of country name.

Member Avatar for Biiim
0
224
Member Avatar for realworldmedia

I am trying to echo information into a slider , but, it keeps repeating the entire slider instead of jus inserting the fields aloone. i know it is the closing tag but i dont know how else to do it..any ideas? i just want to post like address 1 address …

Member Avatar for vibhaJ
0
232
Member Avatar for freemancomputer

I just added a .show for a div to a page where users can rate movies, works just fine as it is. I would like to change it up a bit by showing an image for the number rating that they gave it, 1-5. I have something like it set …

Member Avatar for urtrivedi
0
203
Member Avatar for jateshs1007

I have a query to adjust the size of the fieldset. [Sliding Form](http://tympanus.net/codrops/2010/06/07/fancy-sliding-form-with-jquery/) from this site i have taken the sliding form. I have modified few things such as 1. There are only two fields Login and registration 2. It Do not check when all the are text field are …

Member Avatar for Sahil89
0
122
Member Avatar for kaizokupuffball

Hi! I have this problem on my website. When i move to the randomize section of my page it loads slow. It's ment to fetch alot of images, but it loads pretty slow, also the window freezes until the jQuery code in done running. I don't know how to explain …

Member Avatar for LaxLoafer
0
175
Member Avatar for bsewell

Hello all, I'm trying to get a calculation to appear in a DIV, in HTML. The calculation shows fine with the HTML, but my problem is that the result is showing straight away. I want it to display 5 seconds after the calculation is done (it's done in jquery). What …

Member Avatar for bsewell
0
151
Member Avatar for Dani

How can I convert a DOM node to a jQuery object? I am using a javascript library that is returning a DOM node. I don't know any of its properties. I want to convert it to a jQuery object so that I can work with it.

Member Avatar for Troy III
0
7K
Member Avatar for tahsin.rahit

HI I want to pass HTML input array to jquery. I don't using `<form>` tag. only `<input>`tag. `<input type="checkbox" name="remove[]"/>` and `<input type="text" name="quantity['xyz']"/>` Here *xyz* will be diffrent for each input (these 2 line is actually generated by PHP loop) These two lines will be repeated several time by …

0
95
Member Avatar for kletig

Hi there! I'm using PHP together with jQuery/AJAX to submit a login form without reloading the page. Basically the code works like this: Login.php (The actual form) -> process-login-admin.php (server-side validation and authentication) -> Echo error message The error messages is displayed in a hidden div (#feedback) on "Login.php" that …

Member Avatar for kletig
0
7K
Member Avatar for tst234
Member Avatar for vizz

is anybody know about drawing arc using jquery? I want to draw arc using css3 and javascript/jquery, I don't want to use HTML5 or canvas or else

0
48
Member Avatar for dany12

Hello How can you store a theme(css jquery html) in a database and retrieve it using php and jquery ajax Can this be done in json and what advantages are with this tehnology,I am new to json and don't know that is why I am asking any ideas will be …

Member Avatar for diafol
0
114
Member Avatar for fka
Member Avatar for shandoosheri

hi i have an outer div which contains alot of inner divs like this '<div id="wrapper"> <div id ="1" class="hoverme">sometext</div></div> so what i nedd to do is that i need to detect the on hover stat of ever hoverme class in tthe wrapper div and return the id number of …

Member Avatar for shandoosheri
0
162
Member Avatar for jj.amonit

Can anyone help me figure out why my dialog won't go away when clicking the x? When I click it with modal = true, the modal portion disappears, but the dialog remains. With it off, the dialog still remains. I have tried multiple things, but it won't go away. I …

Member Avatar for fobos
0
3K
Member Avatar for dschuett

I am trying to make a datepicker that sets a maxDate of 2 **business days**. Right now I am using the following: $(document).ready(function() { $('#intnewDate').datepicker({ beforeShowDay: $.datepicker.noWeekends, inline: true, dateFormat: "mm/dd/yy", changeFirstDay: false, maxDate: 2 }); }); I am disabling weekends with $.datepicker.noWeekends, but when using maxDate: 2 it counts …

0
133
Member Avatar for dschuett

I have a datepicker field that the maxDate doesn't seem to be working on. jQuery: $(document).ready(function() { $("#intorgDate").change(function() { var myDate = new Date($("#intorgDate").val()); //ENTER VALUE IN mm/dd/yy FORMAT var mymaxDate = new Date(myDate +7); $('#intnewDate').datepicker({ inline: true, dateFormat: "mm/dd/yy", changeFirstDay: false, defaultDate:myDate, minDate: myDate, maxDate: mymaxDate }); }); });​ …

Member Avatar for dschuett
0
6K
Member Avatar for dschuett

This works: while($row = mysql_fetch_array($results)){ if($isfirst){ $last_id = $row['id']; } $isfirst = 0; $msg_id = $row['id']; $message = nl2br($row['post']); $time = $row['post_time']; $name = $row['firstname']." ".$row['lastname']; if($row['updated']=='1'){ $updated = "- <font style='color:#DB4937;'>CORRECTED</font>"; } else{ $updated=''; } $newPosts .= "<li id='msgblk_$msg_id'><span id='message_$msg_id'>$message</span><p class='time' id='time_$msg_id'>$name - $time $updated</p></li>"; } $newID = $last_id; …

Member Avatar for dschuett
0
284

The End.