15,120 Topics

Member Avatar for
Member Avatar for Bharadwajcvrg

Hi Team, I am trying to enable only the upcoming 2weeks i.e from current week friday to the second week thursday. For example: today's date is 25th so the upcoming friday will be 27th. So I would like to enable the date from 27th Friday June to July 10th Thursay. …

Member Avatar for DJBirdi
1
237
Member Avatar for ultmt.punisher

I am wondering how can I multiply an element value by selecting from `<option>` tag? for example I have a `<input type='text' value='9'> text tag` or `<span>9</span> tag` and I want to multiply its value by selecting option tag likewise <select name="" id=""> <option value="1/month">1/month</option> <option value="2/month">2/month</option> <option value="3/month">3/month</option> <option …

Member Avatar for ultmt.punisher
1
1K
Member Avatar for davy_yg

Hello all, How to create registation bar like the following link: [Registration bar](http://www.squline.com/en/register) You see that you can view the registration progress before you step in by numbers. How to create such a thing? Thanks in advance.

Member Avatar for iamthwee
0
52
Member Avatar for Raymond_4
Member Avatar for iConqueror
1
181
Member Avatar for munchlaxxx

I'm having some trouble adding more than 1 marker to my map. If I want to display one marker, it works fine. Here is what I have: <script src="https://maps.googleapis.com/maps/api/js"></script> <script> function initialize() { var map_canvas = document.getElementById('map_canvas'); var map_options = { center: new google.maps.LatLng(42.3581, -71.0636), zoom: 13, mapTypeId: google.maps.MapTypeId.ROADMAP } …

Member Avatar for iConqueror
0
265
Member Avatar for maxpaine69

Hi all, I have a asp:radiobuttonlist, that the data to create it comes from the Database, one of the option must turn visible, a text box, i have that done in codebehind in .net, but i think its lagging to much. the problem is how can i do thins in …

Member Avatar for maxpaine69
0
216
Member Avatar for Priti_P

Hello, I want to ask user about leaving page when there is some **not saved data** on page. I wrote code <script> window.onbeforeunload= function() { return "Save your data plz"; }; </script> But the problem is when am submitting data, then am rendering another page. Due to this confirm message, …

Member Avatar for urtrivedi
0
145
Member Avatar for queryEma

Good Afternoon, everyone. I am new to this forum so I honestly don't know what to expect. But I wanted to see if I could get some help here with a project that I am working on (No! it is NOT homework). Without giving all the specifies, which would take …

Member Avatar for pixelsoul
0
309
Member Avatar for nadiam

hey guys. js: $(".addGuest-btn").live("click", function(){ /*in table2*/ var addG = $(this).parent(); var insert = '<tr><td class="insertG"><input type="text" class="add-name" placeholder="Doubleclick on a name."></td></tr>'; $(addG).append(insert);/*append into table2*/ }); }); $(".guests td").dblclick(function(){ /*table1 td*/ alert("double clicked!"); var name = $(this).clone(); $(".add-name").each(function(){ if($(this).val() == "") { $(this).append(name); } }); addGuest function works and appends …

Member Avatar for nadiam
0
380
Member Avatar for Tcll

so what I'm trying to do is build a progress bar using basic page elements with CSS. http://tcll5850.proboards.com/thread/249/post-progress-bars-development what I want to do is set a solid color selected multiple colors in a gradient based off the percent completed. how can I do this?? I'm thinking to provide a hidden …

Member Avatar for Tcll
0
358
Member Avatar for techman41973

I want to create what is called an "Exit Popup" in Jquery with the following attributes 1. The popup is triggered when the visitor moves their mouse outside of the page. 2. The popup box enters from either the left or right, outside the page. 3. When the Exit Popup …

Member Avatar for Dani
0
2K
Member Avatar for Bile

Hi,Ihope all is well... I downloaded this fancy shockwave flashplayer [On this site](http://www.dynamicdrive.com/dynamicindex14/shockwave/index.htm) and I managed to do all the necessary setup for the My slide show page and it is fine and good. My pages are as follows I hape a php page for holding the shockwave flash player …

0
198
Member Avatar for davy_yg

index.php <script type="text/javascript"> $(document).ready(function() { $("#login").click(function() { $(".login_box").slideToggle('fast'); }); }); </script> <div class="login_box" onblur="myFunction()"><br> Email:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> <input type="text" name="judul" size="20"><br><br> Password:<br> <input type="password" name="judul" size="20"><br> <a href="#">Forget Password</a><br><br> <button type="button" class="button">Sign-in</button> <button type="button" class="button" onClick="window.location.href = 'http:\index-1.html';">Create Account</button><br> </div> This program when someone click the button the login_box appears and if …

Member Avatar for davy_yg
0
299
Member Avatar for RikTelner
Member Avatar for dwlamb

This might be a duplicate but I can not find a solution for the small challenge I am facing. I want to assign the href and text in an `<a>` tag to variables and use them in a jquery script. Examples I have found pertain to diving into the DOM …

Member Avatar for diafol
0
261
Member Avatar for himanshu.1691

i tried to mimic the code of a tutorial for a live updatable table....dat is connected to the MYSQL server .... i copied it and edited it a bit...but its not working... i was not able to understand the code so dont knw where the problem is here is the …

Member Avatar for nikkitata
1
1K
Member Avatar for castajiz_2

I ve been trying for the last 3 hours to get my autocompletetextbox working and tryed all sort of code. My Web service is working from wich I m actually fetching all the stuff but the jquery seems not to work, I m always getting the error when typing the …

Member Avatar for nikkitata
0
299
Member Avatar for iamthwee

Good morning dudes, I have a little issue, I have a rich text editor but on copy and pasting it retains a lot of the gunk, unwanted fonts classes. It is even worse when copy and pasting from microsoft word. Here are some of the things I want: * To …

Member Avatar for diafol
0
327
Member Avatar for wfray

This code works perfectly in IE 7 and above. The PHP/HTML code has a button to delete/undelete some data. When the icon/button is clicked it enters the javascript function "setdelete". The following HTML code sets up the button for entry into the javascript function. <button id="$delete_icon" value="Delete" onclick="setdelete($key)"><img id="$m_d_img_name" src="images/x_undelete.ico"/></button> …

Member Avatar for wfray
0
311
Member Avatar for Bharadwajcvrg

//create the sortable headers for (var i = 0; i < colsSorted.length; i++) { var column = colsSorted[i]; var props = _data.cols[column]; $(document).on('click', '.'+column+'ascen', function(){ col=$(this).parents("th").find("a").html(); if (priv.options.debug) console.log('col:{0} clicked'.f(col)); //set the new sorting column if ($(this).attr("class") == "ascen"){ _currSortFlip = true;}else{ _currSortFlip =false; } _currSortCol = col; if (typeof …

Member Avatar for Bharadwajcvrg
0
779
Member Avatar for Sailor_Jerry

I am using Ajax to load the content of a div element. I have a call back function that I want to use to scroll to the appropriate element, after the data has been loaded. I also have the id of the element I want to scroll to. Most of …

Member Avatar for vinhsoft
0
233
Member Avatar for eantz

Hi.. Is it possible to redirect the page with javascript but keep the data alive and can be read or used by the destination page? I use PHP scripting..

Member Avatar for Taywin
0
233
Member Avatar for vizz

I have `div` with `width:125px; height:125px`. How to create small bars before displaying it? When clicked on `<a href="#">Menu</a>` make transition, like small bars are forming the `div` smoething like http://workshop.rs/projects/jqfancytransitions/

Member Avatar for vizz
0
173
Member Avatar for nadiam

Hello. I have a navigation menu: <ul id="nav"> <li><a href="home.php">Home</a></li> <li><a href="event.php">Events</a></li> <li><a href="#">Guest</a> <ul> <li><a href="add_guest.php">Add Guest</a></li> <li><a href="seating.php">Seating</a></li> </ul> </li> <li><a href="rsvp.php">RSVP</a></li> <li><a href="contact_data.php">Contacts</a></li> </ul> how do i check which link is active? there are tons of this kinda questions and answers but i can't seem to make …

Member Avatar for nadiam
0
351
Member Avatar for nadiam

hey guys so i have an issue with my enable disable function which i just realized a few minutes ago. easier to explain with a screenshot: ![08c804f5fc7f9af5f870d8cf5a7cc3fa](/attachments/small/4/08c804f5fc7f9af5f870d8cf5a7cc3fa.jpg "align-right") so as you can see i have multiple checkboxes. say for example all checkboxes are checked and the delete button is enabled, …

Member Avatar for nadiam
0
506
Member Avatar for nadiam

hey guys so im trying to check if a checkbox is checked. and if one checkbox is checked a button is enabled if more than 1 it is still disabled; button is disabled by default. <script type="text/javascript"> var editbtn = $("#edit_contact"); editbtn.attr("disabled","disabled"); $('.contacts input:checkbox').live("click", function() { if(this.checked.length === 1) { …

Member Avatar for nadiam
0
252
Member Avatar for riahc3

Hello I want to make a button autoclick itself. JQuery? Whats the best way? Tried trigger click but nothing Thanks

Member Avatar for shophiarajan47
0
193
Member Avatar for Siberian

The following jQueryUI code works in Chrome, not in FireFox ? $(".reachme").click(function(){ $("#reachme").animate({right:'250px'}, 2000, 'easeInOutBounce'); });

Member Avatar for Siberian
0
253
Member Avatar for [NOPE]FOREVER

With $(document).ready() does your entire javascript code go into this function? or just the functions that you want to run automatically when the page has loaded? Cheers

Member Avatar for hericles
0
120
Member Avatar for RikTelner

var x = 0; var interval = setInterval(function() { alert("Loop iteration #" + x++); if(x==6) { var x = 0; } }, 500); This code prompts "#NaN" with each message, but I expected it to be going 1, 2, 3, 4, 5 and then back to 1, 2, 3, 4, …

Member Avatar for RikTelner
0
156

The End.