1,694 Topics

Member Avatar for
Member Avatar for manzoor.ilahi77

I need not to focus on readonly input and when user tab it should jump to next write field. <input type="text" name="first"></input> <input type="text" name="second" readonly="readonly"></input> <input type="text" name="third"></input> <input type="text" name="fourth"></input> <input type="text" name="fifth" readonly="readonly"></input> <input type="text" name="sixth"></input> <script> $(document).ready( function(){ $('input').focus(function(e) { var readonly = $(this).attr("readonly"); if (readonly) …

Member Avatar for stbuchok
0
1K
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
436
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
291
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
151
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
218
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
223
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
349
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
156
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
223
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
231
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
202
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
173
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 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 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
161
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
Member Avatar for kukula

Hi there, during developing website for my father's company ( [website](http://www.pgum-sill.pl/nowa_strona/index.html) ) I find out that I have problem with personalization of different lists. In this case I wanted to make a floating menu like thise one here: [Floating Menu](https://d2o0t5hpnwv4c1.cloudfront.net/018_Floating_Menu/demo/dhtml_float_menu_final_nettut.html) (this page is from this [Tutorial](http://net.tutsplus.com/tutorials/html-css-techniques/creating-a-floating-html-menu-using-jquery-and-css/)) At the pages above …

Member Avatar for fobos
0
312
Member Avatar for jocky c

Hi guys, ive been here once before and you rocked so...... Im using jquery idtabs which contain 2 separate carousels in the same page (id like to up this to 4 eventually). Unfortunately when the 2nd link is clicked the carousel does not perform as it does in link1. You …

Member Avatar for pritaeas
0
88
Member Avatar for dschuett

I am working on a live feed that pulls records from a database. Firebug shows the JSON being returned as the following: {"newPosts":"<li><span id='message_33'>This is a Test.\nLet me know if it works.<\/span><p class='time' id='time_33'>Apr 14th, 2012 10:13:57 AM<\/p><\/li>","newID":"33"} I have checked the JSON's validity at JSONLint.com, and it IS in …

Member Avatar for pritaeas
0
174
Member Avatar for Collossus

I am having problems getting getJSON call to work. At the moment it doesn't retrieve any data, however when I change the '$.getJSON' to ' $.get' it retrieves the data in it's encoded format: [{"Page":"User Journey","Description":"Interactive User Journey Diagram","Bounce_Rate":"0","Avg_Time_On_Page":"0","Page_Views":"0","Click_Rate":"0"} What am I missing from the $.getJSON call? getstatistics.php: $query="SELECT Page, …

Member Avatar for pritaeas
0
130
Member Avatar for hinazahoor

hey, please help me for building form validation in jquery. and suggest me which one is the best method for form validations

Member Avatar for pritaeas
0
68
Member Avatar for Bugaya

I am trying to use JQuery Full Calendar along with Spring MVC. I have made a demo like [that][1]. Target: I need to send the UPDATED calendar's data,after I enter my events, to the controller to handle it. Issue: I've succeded to re-send the calendar I've inistialzed to the controller. …

Member Avatar for Bugaya
0
462
Member Avatar for Bugaya

I am trying to use JQuery Full Calendar along with Spring MVC. I have made a demo like [that][1]. Target: I need to send the UPDATED calendar's data,after I enter my events, to the controller to handle it. Issue: I've succeded to re-send the calendar I've inistialzed to the controller. …

Member Avatar for Bugaya
0
197
Member Avatar for dschuett

I have a form that auto-populates an "original date" field based on the previous field that is filled in. What I am looking to do is the following: Once the "original date" is auto-populated (in the format of 04/09/2012), I need the next field "new date" to automatically have a …

0
136
Member Avatar for ndrw

Good day! I just want to make a modal form unclosable if possible. my aims are: 1. my webpage will detect the ip address of the user. 2. if the user is from another country, he will not be able to access the page, so a modal form will open …

0
52
Member Avatar for ak47carbon

i want to show an jquery animation in index page after showing animation then my website content will be display Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $("div").animate({margin:300},"slow"); $("div").animate({height:300},"slow"); $("div").animate({width:300},"slow"); $("div").animate({height:100},"slow"); $("div").animate({width:100},"slow"); …

0
64
Member Avatar for layman114

I am trying to display value. The code below displays value but it uses alert to show value. But I need to show value in a textbox. Anyone there to help me??? $('#show').click(function() { var $cars = ''; $('#selected_cars .innertxt2').each(function() { var $car_value = $(this).attr('carvalue'); if ($cars == '') $cars …

Member Avatar for Airshow
0
236

The End.