1,694 Topics

Member Avatar for
Member Avatar for ultmt.punisher

I want to make a system that generate numbers on click, I have numbers from 1 to 100 like M-3134 A-3133 U-3132 and so on. and I want to put all my these numbers in array and want to show using button randomally, upto 8 numbers or 10. and when …

Member Avatar for ultmt.punisher
0
2K
Member Avatar for nadiam

Hi guys, so i have a table populated by event details from database and i use a checkbox to select which event to be deleted: echo "<tr> <td><input type='checkbox' name='check[]' class='check' value='$id'>$name</a></td><td>$formatDate</td> </tr>"; my delete function: <?php if(isset($_SESSION['sess_user_id'])) { if(isset($_POST['del_event']) && isset($_POST['check'])) { require "connection.php"; $userid = $_SESSION['sess_user_id']; foreach($_POST['check'] as …

Member Avatar for diafol
0
458
Member Avatar for diafol

Hello All. Been playing around with some linked dropdowns. It seems to be a recurring theme here on DW, so I thought I'd offer this up as a possible solution or for discussion, to see how it could be improved. The premise for this set of linked dropdowns is that …

Member Avatar for diafol
5
940
Member Avatar for Dudearoo

first off this is a question where jQuery is used heavly, there are no catagories to put that under on <DaniWeb> so i've put this post under what i believe is the most appropriate one. Ok! now thats done and over with, im requiring some assistance on how to write …

Member Avatar for pritaeas
0
255
Member Avatar for razor2890

I have the following field in a jsp page.. <select size="1" name="typ"> <option value="C">Coffe</option> <option value="T">Tea</option> &nbsp; </select> Now when the user selects Coffeand and clicks submit, I want the page to go to Coffe.jsp and when Tea is selected , i want it to go to Tea.jsp I tried …

Member Avatar for trhtrh
0
6K
Member Avatar for nadiam

hey guys. first, sorry about the vague question title i know that that is totally unacceptable but i just didnt know what the title of this thread should be. sorry(ashamed). so the "issues" that i am having is regarding this script: $("#table tr td").live("click", function(){ var row = $(this).closest('tr').css('background', 'LightSlateGray'); …

Member Avatar for nadiam
0
210
Member Avatar for nadiam

hello. so to keep it short and simple. I have a button "Cloned" and an <img>. The problem is that the image gets double cloned on the second, third and so on when Cloned button is clicked. Like on the first click image gets cloned and displayed once, on the …

Member Avatar for nadiam
0
447
Member Avatar for dlmagers

Hello, I have been working on this application for a bit and I feel like I am close but apparently I am not close enough. **Challenge:** I need to be able to have the user input an address and click "Create Map". In the map that’s displayed, the user’s entry …

Member Avatar for almostbob
0
306
Member Avatar for Himanshu Chawla

**I want to track Email if opened by user and increase the count in my database.** **I have tried a lot a things like image sending and bgsound but none of them worked. But now i will do with the help of image sending. I am not getting the idea …

Member Avatar for iamthwee
0
244
Member Avatar for nadiam

Hi. i got table A(contact-names) which is where name are populated to from db and table B(guest-names) where names from table A will be appended to. this is the js i came up with to append the names: var msg2 = '<tr class="tr"><td><input type="text" name="GName" class="input-name" placeholder="Doubleclick on a name." …

Member Avatar for nadiam
0
487
Member Avatar for nadiam

hello. im not sure if this is the right forum because it is about php echo AND js but since it is about echoing i thought this forum will be better. sorry if i asked in the wrong forum. Anyway, so i want to know if echoing a js script …

Member Avatar for DJBirdi
0
9K
Member Avatar for khurram123

Hi. I have problem with menu. I have develop drop down menu and slider. But i am facing problem that menu is hiding behind slider. How can i solve this problem. http://moghulweb.com/mheading/ Pease help me. Thanks

Member Avatar for patk570
0
113
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 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
294
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 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
179
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
298
Member Avatar for RikTelner
Member Avatar for Bile

-->>Hello,My problem is how will a trigger a php Function based up on Change event of a listbox value. My Page has the Field as those in the screenshot below the code: So when a driver is selected on the list all his/her details should be populated in the remaining …

Member Avatar for Bile
0
2K
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 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
296
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
349
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
473
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
181
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 Bile

->Hi,I hope all is well. Here is what I have difficulties with, I am NOT good in Java Scripts and I wanted to have a Slide show Image on My Page and lucky was I to find these fancy slide shows [here](http://www.dynamicdrive.com/dynamicindex14/shockwave/index.htm). I downloaded necessary associated files and the whole …

Member Avatar for Bile
0
875
Member Avatar for Ketsuekiame

Not sure if it's just me but the home page doesn't work. It's just presenting the background colour but no content. The following is received by the browser: <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en-US" lang="en-US"> <head> <!-- CSS --> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" …

Member Avatar for Dani
1
422
Member Avatar for Ryan_11

I am trying to develop a seach page to search the customer files that in the database. I want to be able to search and the result display on the same page and i can search for another customer without going to another page. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript"> $(function() …

Member Avatar for Ryan_11
0
293

The End.