3,446 Topics
![]() | |
[CODE] $query = "SELECT item, description, price, imageData, status, username, item_id FROM items"; $result = mysql_query($query) or die(mysql_error()); $z=0; while($row = mysql_fetch_array($result)) { //echo other columns here// echo "<td><div id=status$z></div></td>"; <script type=text/javascript> function updatestatus(itemnum) { var url="updatestatus.php?auc=<?php echo $row['item_id']; ?>"; jQuery('#status' + itemnum).load(url); } setInterval("updatestatus(<? echo $z?>)", 1000); </script> <? … ![]() | |
[B]Form.php[/B] [CODE] <form autocomplete="off" enctype="multipart/form-data" method="post" name="form"> <p></p> <div class="form-elements-malling"> <label for="fullnamemalling">Name<br /></label> <input type="text" name="fullnamemalling" id="fullnamemalling"/> <span></span> </div> <p> </p> <div class="form-elements-malling"> <label for="emailmalling">Email<br /></label> <input type="text" name="emailmalling" id="emailmalling"/> <span></span> <input type="submit" value="Submit" style=" background:#0060a1; color:#FFFFFF; font-size:14px; border:0; " class="submit"/> <span class="error1" style="display:none"> Please Enter Valid Data</span> <span class="success" style="display:none"> … | |
Suppose I have a webpage which contains only the links(anchor) in it.... also suppose there are 5 anchor(links) on that page......... My aim is to underline only that anchor that was clicked by the user.........or is being active now Kindly tell me about it.... I have a rough idea of … | |
I received the below website but for some reason the email button is not working properly. I'm not getting emails at sales@buykona.com I even try sending one myself, it didn't work. Can anyone help on this? Thanks, Julio <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta … | |
Input field is filled but not submitted... Validation: [url]http://jquery.bassistance.de/validate/demo/[/url] Ajax/Jquery based variable from input field. If there is Name (required, at least 2 characters)it should change content (text) with Full name like Mr. Luck Murphy. How to do this in correct way as there is already validation Javascript: <script type="text/javascript"> … | |
I want to just bold and underline the (anchor) link when it was clicked with the help of jquery....But didn't know of how to do it.... Here is my code: [CODE] <script type="text/javascript" language="javascript"> $(document).ready(function () { $("a").click(function () { alert("Hello"); // $('.body_text').css('width', '100px'); // $('.body_text').css('text-decoration', 'underline'); // //this.addClass('makebold'); //$(this).toggleClass('makebold'); … | |
i want my ajax and php codes, with 2 option value, show up two different texts or form packs. i have given html and php codes. i hope sombedy help me. im quiet new with this. thanks :) renkler.html : <head> <script type="text/javascript"> var istek = false; if (window.XMLHttpRequest) { … | |
I have created one application in JavaScript. And i have created logic gates(e.g AND,OR,NOT) and I displayed these gates on on particular grid background but when I drag and drop these Gates on grid , the borders of gates and lines are not matched to the background grid. So how … | |
![]() | Hey i am currently working on a book store for a university project. And would like to implement that only admins can access the backend of the website. My login scripts currently allows all types of users Login . I have two mysql tables a [B]user [/B] table and a … |
Overview So I've got this site I've been working on for months. I thought I had it all figured out. But then I Google'd for my site, and clicked a link, and the same functionality does not work. Details Site: [url]http://whentoplant.com/[/url] Walkthrough - Everything seams to work Ok, lets walk … | |
I am having some trouble with this code. I want have an onclick function on a div and I want to call this function. Only the 'if' section of the code works. If the #about opacity is anything other than 0.47, it still executes the 'if' code, but not the … | |
I need a tooltip where I can show content dynamically using (Query String [B]demo.php?id=12[/B]; id will change) jQuery, AJAX and MySQL. | |
Hi Guys, please i need your help i have w website project to be delivered tomorrow and i need fast tutorials to help me make plugins using jquery on "HTML made website". Thanks in advance :) | |
I have a page that lists records from a database call. I want to have an 'edit' link on each row that will popup a Jquery dialog so that the row can be edited. My question is how do I pass the data from the selected row to the jquery … | |
I have a slight situation in my app in my jsfiddle. What I want to do which I can't achieve is that I want the functionality of the Option Type, Number of Answers and Answer buttons within each row to match the functionality on top. The problem is that under … | |
Hi, This is the website that I created: [url]http://www.masterlink.co.id/cgoods/index.php[/url] index.php [CODE] <?php //start session session_start(); //unset any session data until user submits valid username and password // this is correct way not unset($_SESSION), sorry my mistake // see http://www.php.net/manual/en/function.session-unset.php session_unset(); session_destroy(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> … | |
Ok, this is my final tango with this. Below I've listed the code. I'm able to get the value of the url and display it on screen for the current (active tab) in Google Chrome. Now all I have to do is pass that value as a parameter in the … | |
What is happening is that when the user selects the option "True or False" in a particular row, a string is appering in two places where actually it is suppose to appear in one place. If you follow the steps in my fiddle then you will understand what is happening. … | |
Hello ALL..Emmmmm..:-/ Simple Quest.. Is it possible to make the awesome homepage slider/the hover things of Adidas.com using Jquery or maybe Ajax? I'm really2 like it.. | |
Hello I have a question that is driving me crazy. I am trying to set a cookie after the page has loaded for 1 minute. Currently in my script I set it to activate the cookie after 12 seconds. but it doesn't seem to work. Please help me.. Thanks [CODE] … | |
Hello, I have this javascript function: [CODE]<script type="text/javascript">$(function() { YAHOO.MediaPlayer.addTracks(document.getElementById("ajazload"),1,false)});</scr*​ipt> <script type="text/javascript">[/CODE] This function is loaded inside the <div id="main">, which is loaded via Ajax. How can I prevent the javascript function to reload itself at every #main ajax page load ? I just want the javascript function loads at … | |
On my site there is a horizontal menu. When I hover over a menu button, which is a <div>, a <div> inside that <div> is shown with control options for that button (for example to edit the button text). This is done with Javascript (jQuery). It uses $.hover. So, when … | |
Hello, I wanna do to do list to look like that: [IMG]http://uss.feri.uni-mb.si/images/Vaje/Vaja_7_jQuery/vaja1.PNG[/IMG] and i need to use jQuery selectors. I can't seem to get it to list a task and create a task. Can anyone please help? This is the code: [CODE]<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> … | |
Hello Guys! Im developing a Quiz System for a game which i LOVE alot. Have done most of the work but still need some help from you guys! Problem faced is when the contestant answers it correctly the counter is not incremented and they are refusing to be passed into … | |
hi, my $.post code returns a whole page i want to get only content inside a id from that . this is my code it alerts null. what's wrong with it..? [CODE] $(document).ready(function(){ var url_select_file = "index.php"; $.post(url_select_file, { component: "tinymce_details", action: "selecticondata" }, function(data){ //alert(data); alert($(data).find('#ContentPane').html()); } ); [/CODE] | |
I have seen similar questions asked before, however my question is a little bit different to the other ones that have previously been asked. I want to make the div's expand/collapse on the jquery "click function" I have created. The difference between my question and other questions is the fact … | |
Hello everyone, I want to make an Twitter like AJAX post viewer like if we click on any link, it opens in a new sliding div like Twitter's... Plzz. Help... Thanks in Advance.. | |
I've simplified it quite a bit but it's still not working. PHP: [CODE] <?php $a = array('data' => 'Hello'); echo json_encode($a); ?> [/CODE] Here's the JQuery Code: [CODE] function getCityAndState(data, location) { var jsonString = {"zipCode": data}; var outR = outputResults alert("JSON String:" + jsonString.zipCode); if (location === "living") { … | |
Problemo: My PHP Script (it's just a snippet) is not picking up my JavaScript code. It doesn't even see the zip code field. It says it doesn't exist: [CODE] <?php $zipCode = $_GET[zipCode]; //echo "data:".$zipCode; $json = "{data:.$zipCode}"; echo $json; //echo json_encode(array("data"=>$zipCode)); //print ("Zip Code:".$zipCode); ?> [/CODE] I'm passing it … ![]() | |
This is driving me crazy. I wrote a php api file and stored it on my server. When I run the url directly the JSON results are perfectly echoed to the screen, with no problem. However, when I attempt to access the results from another domain (e.g. Cross domain) I … | |
Hi, I have a registration form and several codes for validation but i can't join them. regsitration form: [CODE] <?PHP include 'topo.php'; ?> <!-- content --> <div class="indent"> <h2> Inscrição </h2> <form action="envia.php" method="post" onsubmit="return validar()" > <fieldset> <legend> ALUNO </legend> <br/> <div class="field"><label>Username*: </label><input type="text" size="30" name = "username"/></div> … | |
HI , CAN ANY ONE TELL ME HOW CAN I UPLOAD A FILE TO MY WEB SERVER WITH OUT USING <INPUT TYPE="FILE"/> , I JUST WANNA USE I BUTTON TO UPLOAD A FILE , AND WHENEVER I CLICKED ON THAT BUTTON I WANNA A FILE WHICH IS ON MY SYSTEM … ![]() | |
I have a slight situation in my app in my jsfiddle. What I want to do which I can't achieve is that I want the functionality of the Option Type, Number of Answers and Answer buttons within each row to match the functionality on top. The problem is that under … | |
Hi Everyone I am trying to modify a jquery plugin ([URL="http://jqueryfordesigners.com/jquery-infinite-carousel/"]Infinite Carousel[/URL]) to present some boxes instead of a plain image content. Here is the [URL="http://www.geoca.com/Sample/index.html"]Demo[/URL] I m not sure if this is more styling or scripting issue but I am encountering with tow problems as: 1 - Contents of … | |
Hello guys i am facing a problem i dont know why. i am upto making barcharts in jQuery but it is displaying in IE not FF.Please Help to fix this problem for me.thanks [B]i have attacted the file below so you can test in your server.so for the all jQuery … | |
I need to use jQuery range slider for setting up limits for multiple ranges which are interdependent, something that is similar to slider that we use for hard disk space allocation during OS installation but mine is a web applcation and the data necessary would be fetched from DB. I've … | |
In my jsfiddle I have an application where the user can select an option and their answers and then display it in a new row. I have one slight problem though, I think it will be easier to explain if you follow the steps below in my [fiddle][1]: 1. Open … | |
I attempted to invoke a C# method using jQuery but it failed. The reason is because the method cannot be found. However the method exist in the class. Did I miss something? Your help is kindly appreciated. Thank You | |
Hello! Sorry for asking but i have really big favor to ask. If anyone is so kind to help me do that i would really appreciate it. I wouldn't even think to ask like that but have a due date till tomorrow. I know its last second but I was … | |
Hi Guys, I have a problem here. I can't manage to get the slidesshow display on my aspx. After a few tried. take a look at tis link. [url]http://www.serie3.info/s3slider/[/url] I m trying out this link and many people say it works. But still I failed to display.. mycode: [CODE]<div id="slider1"> … | |
hi, i want to load data after loading related php page. i used ajax and even jquery. jquery was not sure this is jquery code [CODE]$.post('<?php bloginfo('template_url'); ?>/bk_page/schedule_check.php', "", function(data) { $("#fieldsetConfirm").html(data);}) [/CODE] but this and when i was using ajax it changes data, but unfortunately, the pay now button … | |
Hi everyone, I've created a function for calling .js files in <head> but it's not working properly. The reason why is this function necessary is that I want to include different .js files in different pages or remove some If I don't need them. [CODE]function get_scripts($array, $dir) { $count = … | |
hi , this is my code. i want to return data using a php page after processing a query within it. [CODE]$.post('check_booked.php', { room:roomv, srtdate:sdatev, eddate:sdatev}, function(data){ alert( data); });[/CODE] before completing php page i test using online code which returned nothing.. i don't know what wrong, as i have … | |
Hi, I want to insert various images (slideshow) as a banner, here's the code: (i think it's ok) [CODE]<?PHP $dbhost = 'localhost'; $dbuser = 'root'; $dbpass = ''; $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error connecting to mysql'); $dbname = 'destaques'; mysql_select_db($dbname); ?> <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> <script … | |
I attempted to add new row but it does not seem too work. Did I do something wrong? [B][U]Pricing.html[/U][/B] [CODE] <HTML> <HEAD> <TITLE></TITLE> <SCRIPT SRC="jquery-1.7.1.js" LANGUAGE="text/javascript"></SCRIPT> <SCRIPT SRC="addRow.js" LANGUAGE="text/javascript"></SCRIPT> </HEAD> <BODY> <TABLE> <THEAD> <TR> <TH bgcolor="#33CC00">Select</TH> <TH bgcolor="#33CC00">Quantity</TH> <TH bgcolor="#33CC00">Inner Packaging</TH> <TH bgcolor="#33CC00">Quantity</TH> <TH bgcolor="#33CC00">Outer Packaging</TH> <TH bgcolor="#33CC00">Price</TH> <TH bgcolor="#33CC00">Minimum … | |
i have a sortable list. when the user rearranges an item, i should know what was switched with what. i dont want an array. i just want which element switches with which. each list item already has a unique ID. | |
Hello I was wondering if anyone might be able to help me? this is the jquery?I have two problems that I am hoping somone can help me with? What I am trying to do is when I click on a checkbox (#Facebook) it will display a div #widget-FB, and when … | |
i am trying to code a chat app for my social network and i am using the following module .. [URL="http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/"]http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/[/URL] i have coded the rosters(manage who is online) for it .. but those rosters work only on login/logout .. on login it makes an entry for username in a … ![]() | |
Hi all! I have found this script, very simple. I like this but i want more advanced What I want is: How to make, that turned always in one side (right or left)? Instead of that has reached the end, thumbs through back and again forward... and also previous, play/pause, … | |
hello, A site I am developing uses innerhtml to load all content into a content box. I have the jquery script links and function on the main part of the page that does not refresh. The image gallery is printed into the content box when the innerhtml function is called … |
The End.