15,688 Topics
![]() | |
-->>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 … | |
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 … ![]() | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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> … | |
//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 … | |
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 … | |
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.. | |
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/ | |
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 … | |
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:  so as you can see i have multiple checkboxes. say for example all checkboxes are checked and the delete button is enabled, … | |
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) { … | |
Hello I want to make a button autoclick itself. JQuery? Whats the best way? Tried trigger click but nothing Thanks | |
The following jQueryUI code works in Chrome, not in FireFox ? $(".reachme").click(function(){ $("#reachme").animate({right:'250px'}, 2000, 'easeInOutBounce'); }); | |
![]() | 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 |
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, … | |
I'm working on a site that had to be customized from a templatemonster.com template. It's just about finished except the contact form only seems to work fully in Firefox, which is odd? In FF, IE, and Chrome it LOOKS like it works, and in the first two the submissions come … | |
->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 … | |
First drop down menu to auto change the options of a second dropdown, when you select 2nd it changes the 3rd . <select name="types"> <option value="">---- Select job ----</option> <option value="1">Job1</option> <option value="2" >Job2</option> <option value="3">Job3</option> </select> <select name="gender" > <option value="" >---- Select Gender----</option> <option value="male" selected>Male</option> <option value="female">Female</option> … | |
Hello, Can anyone help me find the logic behind this program? input_berita_static.php <?php include('../includes/koneksi.php'); $post_id = isset($_POST['post_id']) ? $_POST['post_id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $news = isset($_POST['news']) ? $_POST['news'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $page … | |
Hi all why this code doesn't work correctly but php validate without js work correctly and js without php validate work correctly ?! form.php <html> <head> <title>Registration Form</title> <script language="JavaScript" type="text/javascript"> Function validate () { var str=true; document.getElementById("name").innerHTML=""; document.getElementById("username").innerHTML=""; document.getElementById("pass1").innerHTML=""; document.getElementById("pass2").innerHTML=""; document.getElementById("email1").innerHTML=""; document.getElementById("web").innerHTML=""; if(document.frm.nameTxt.value=='') { document.getElementById("name").innerHTML="Please Enter your name"; str=false; … | |
Hi i have a Div and underneath that there is another div. By default the second div is not visible. Now on mouse over of the first div i am displaying the second div and also on mouse out i am hiding the second div. But the problem is on … | |
I have some basic logic here and im getting crazy how can do this. what I want is to submit my form when the hyperlink is being click. here sample code: <form id="myForm" action="for-filtering.php"> <input type="hidden" name="fname" value="<?php echo $account_fname; ?>"> <input type="submit" id="submit" style="display:none;"/> <a onclick='myFunction()' href='reponse-to-customer.php?id=".$cus_id."'>$firstname_email</a> </form> <script> … | |
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" … | |
I need to create 3-4 buttons that are colored when pressed, but when one button is pressed it turns for example red other ones become grey. But this must happen on the same site like selection for example. I didnt maanage to do anything till now, if someone could just … | |
Hi guys, I'm new to ASP.Net. I'm building a page which consists of a dropdownlist, a gridview and a save button below the gridview. I want to populate the gridview based on the values selected from the dropdownlist. My first problem is that the gridview does not display when the … | |
We are wanting to develop a Mobile App either a hybrid App or web app. Since Usability and performance are the main architectural drivers we are thinking Hybrid App is the best approach. But it is supposed to have these features. Because of development cost for each specific platform, Developing … | |
How to remove Referrer from links? How to use following code to remove Referrer from links? **script** var protected_links = ""; var a_to_va = 0; var a_to_vb = 0; var a_to_vc = ""; function auto_anonymize() { auto_anonyminize(); } function auto_anonyminize() { var a_to_vd = window.location.hostname; if(protected_links != "" && !protected_links.match(a_to_vd)) … | |
My question is can we use the Document.write in a loop? As the following code doesn't works well. Guess what wrong in it! <script type="text/javascript"> var d = 1; var p; while (days <= 4){ p = prompt("value of p?",0); document.write("the value of p" + p); p=p+p; d++; }; </script> ![]() |
The End.