15,699 Topics
![]() | |
I want to send another ajax request when one request is in process to get the status of first request. If I call both the request the second request gets blocked till the completion of the first request. Can anyone suggest a method so that second request gets processed in … | |
Hi All, I am using JQuery in my solution and was trying to get the value of the cell which has been clicked. however, after all my searches i ended up with no exact solution. the most common solution i got was to select a row (by making multi select … | |
Jquery's .not() and :not doesn't seem to work in this particular scenario. Any corrections or alternatives would be REALLY appreciated! As you see from the code below, when you click on the green box, the purple box will either slide up or down. How can I exclude the checkbox from … | |
Hi I have a select list on my form as the following [CODE] <form name="source_form"> <select id="sel_source_zero" name="sel_source_zero"> <?php $sources = _ajax_get_news_sources(); foreach ($sources as $key => $value) { print ("<option value=\"$key\">$value</option>\n"); } ?> </select> <input type="submit" value="Submit" /> </form> [/CODE] When the user selects a value from the list, … | |
I try to convert a javascript object into string, but i just cannot get the solution after Google on it. Can someone help me about it? Thanks first... | |
Hey guys, I've done this so many times before but I can't seem to get it working!! All I'm trying to do is in the JavaScript at the top change a span tag to whatever the current window location is but it doesn't work! [CODE=HTML] <div id='Box' class="whitebox"> <div class="position"> … | |
I have an onclick that triggers ajax which calls a php script to pull data from MySQL. This information is then displayed in a div. The problem I am having is that sometimes pulling the data from MySQL takes 2-3 seconds, so the div is empty for about 2-3 seconds. … | |
Dear All, How can I call a javascript to my VB.Net Window Application. Apprecited for immediate attention.. | |
Hi All, Iam using RSF(reasonable servlet faces) i need to clear the fields in the form after user submits it using javascript onload function. can anyone please help me. here is my code: <!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" xmlns:rsf="http://ponder.org.uk/rsf"> <head> <title rsf:id="basic-page-title">Sakai Skin for FlowTalk</title> … | |
This is Jquery plugin which can be used to change the content a its place. Features: 1. Easy to use 2. Maintain changeability of Jquery Know Issue: 1. Can take html string also as input For example: html: [code=html] <div id="editable">I can be changed right here</div> [/code] javascript: [code=javascritp] $.('#editable').editAtPlace(function(newtext, … | |
hi! i am totally new in perl and i have a problem..i have a search maschine and after every query i call a perl script to do the jod and see the results. i want every time i run the perlscrit to be able to see a progress bar in … | |
hello all, today i am trying to write my first CGI program. so i have a HTML page, a JavaScript program that both work just fine when i run them locally. so, the next step is to run it on an Apache server (locally on MacOSX) and the first example … | |
Hello, There is multidimensional array which has stored several information about each record. From those 1st is name and 2nd is pswd I am trying to write a function which would check name and pswd entered by user and check whether name exists in array or not. If it does … | |
First I have to say, Eclipse works wonderfully except for this minor problem. I've tired looking for help on this for about a week and so far the only soluctions relate to content assist not working at all. None refer to content assist missing some major functions, libraries, classes. Some … | |
Hy guys i was creating small page , with mobile phones . And i need little push . The problem is this : On main page i have small drop down menu which contain some values . And i want to take the value and display the appropriate stuff inside … | |
Hey, I want to add tabs to my php page, but I don't know JS.. I found many ready tabber scripts but I'm having 2 problems- the text on the tab's title is set somewhere in the JS and I can't find it, it makes them Tab 1, Tab 2, … | |
This code adds a new textarea when i press the "add" button. How do i alter the code so it can remove a textarea. e.g. i added 4 textarea's but i only intended to add 3, how do i delete the 4th textarea? [CODE]<div id='newdiv'> </div>[/CODE] [CODE]<input type='button' onclick='new()' name='add' … | |
This problem is about passing parameters between functions(define neighbour elements and acess these elements) Here is some HTML [CODE] <ul class="listing"> <li><a href="imgs/eli.jpg" id="1" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/eli_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/ggallin.jpg" id="2" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/ggallin_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/jontarata.jpg" id="3" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/jontarata_t.jpg" width="150" height="100" class="images" … | |
Hello all, I have a problem with some AJAX code that I'm working on. There are three different parts to my problem. The goal of this code is to have a a link that says, "Show comments" to display the comments for a post from an admin underneath the update. … | |
Anyone else having issues with the javascript on Daniweb crashing Firefox 4? It doesn't happen all the time so I'm guessing it's some advertisement that is doing it. Just FYI I have no plug-ins, add-ons, whatever. Just the browser. It rarely happens in the programming forums, mostly in the Community … | |
I have a php script that pulls several rows of invoices from a database and displays them on the screen in table format. I have created an onclick per row within the while loop in order call another php script that runs a query to pull all the attachments for … | |
[URL="http://www.thinkteletronics.com/experimental.htm"]http://www.thinkteletronics.com/experimental.htm[/URL]i have written some javasript code to play an animation with sound and all paths should be working yet nothing is displayed...chrome/ff4/ie8 wont show any anything. | |
I have 2 separate questions. They are related so I hope it works to take care of both of them in one thread. I have this code that works fine for what it does: [CODE] <head> <script type="text/javascript"> function alertSize() { var myWidth = 0, myHeight = 0; if( typeof( … | |
Hi this is irphan.I am using ckeditor for updating the value into database using php my code contain javascript tags like this .... <script="text/javascript"><a href="costs_prices_rates_book_editing.php" onmouseout="turnoff('pic2')" onmouseover="lightup('pic2')"> <img alt="Get a FREE Book Editing Sample" name="pic2" src="images/pricequote.jpg" style="border: 0px solid; width: 215px; height: 51px;" /></a></script> when i am writing this code … | |
Hi this is irphan.I am using ckeditor for updating the value into database using php my code contain javascript tags like this .... <script="text/javascript"><a href="costs_prices_rates_book_editing.php" onmouseout="turnoff('pic2')" onmouseover="lightup('pic2')"> <img alt="Get a FREE Book Editing Sample" name="pic2" src="images/pricequote.jpg" style="border: 0px solid; width: 215px; height: 51px;" /></a></script> when i am writing this code … | |
Hi, I want to make a form , in which I have 4 input Fields. [LIST=1] [*]Date1 [*]Date2 [*]Calender Days [*]Working Days [/LIST] When I enter date1 as 2011-04-07 and date2 as 2011-04-11 Then I require in Calender Days = 5 inclusive of date1 and date2 and Working days = … | |
Hi all. I got some problem here. I made a website using codeigniter framework. And on my website there is the list of events that are happening at my university.. Whenever a person click on the events title bar, a slide panel like Twitter will shows up next to that … | |
hi all, how can i view the number of input field base on dropdown menu selection.lets say user choose 3 from dropwdownmenu then 3 input field are viewed | |
![]() | Hi, Does anyone know how to control the sequence of JQuery $(document).ready functions? For example: [CODE] $(document).ready(function() { ... }); [/CODE] Only if this returns true then do: [CODE] $(document).ready(function() { ... }); [/CODE] Thanks ![]() |
Hi all, today i thought id write a function to see if a string is a palindrome "a word which is spelt the same when read backwards" and thought id post it on here, to see what other/better ways you guys had of doing it or even though i think … | |
Hi everyone. I am still very much in the learning phase of JQuery and AJAX, so your help is VERY much appreciated! I have created a webpage that has two tables of invoice records, which are printed to the screen using a php while loop. The first table is a … | |
Does anyone know if i can write a generic javascript function that check the file extension of the uploaded files and if the extension is incorrect erases the value because the user upload's more then one file i want to get the ID from the form something like: [CODE]fileselectedchange(obj) { … | |
Hi, I have written a small piece of code to display a text box and submit button next to it. The submit button is displayed properly in all browsers except in safari the position of the search box is shifted to left. Is there any way I can fix it? … | |
l am making an jax call and the data is coming back fine inserted into the specific div correctly. However my css is broken after the AJAX call. the h1 are too big some menu items disppear. See code below jQuery('#section').change(function() { jQuery('#loading') .bind('ajaxStart', function() { jQuery(this).show(); }) .bind('ajaxComplete', function() … | |
Hi, I have 3 divs of same height (10% of parent element) placed horizontally and all of them looks of same height and at same offset from parent element but when I placed a table within 1st div, the other two divs moves little bit downward. I am not able … | |
Im getting this error:- The type 'System.Web.UI.ExtenderControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.C:\Users\User\Documents\Visual Studio 2005\deepali\mywork\Animation_Control.aspx can anyone please help me solve it? | |
Hello there I have a script for creating 3 dependant drop down menu Selection A in 1st drop Down returns Selection B in 2nd drop Down which returns Selection C in 3rd and final drop down To C I would like to attach a string of 3 value ( prices … | |
My code goes something like this: [code] <div class="pBody"> <audio id="player" name="player" class="player" src="" controls="controls"></audio> </div> $(document).ready(function(){ $('.fileTr').click(function() { var id=this.id; $('#player').attr("src","../mmc/FileSet/" + id); var sr = $('#player').attr("src"); alert(sr); $("#player")[0].play(); }); }); [/CODE] fileTr is a class of table columns each having the file name as its id. What I … | |
This is a simple ajax form I have found on the Internet. It works well except for the fact that after submitting the form, the form fields information is not cleared. I am running out of ideas and I'd appreciate some guidance. Thank you. In the code below, the form … | |
When I first started working on this article, I was originally planning on reviewing a different product, a new project from Eclipse called Orion. However, it turns out that project just isn't ready for prime time. It's still in a very early stage, and I don't feel I would do … | |
Hi, I em using a asp.net webcontrol having two buttons and onclick of a button i em displaying the custom server control which is created using asp.net.I used AJAX so that the page does not reload when buttons are clicked. Check out the code below: [CODE] <%@ Register Assembly="abc" Namespace="abc" … | |
Hello, I have a script that prints out a lot of <tr>'s, each has a different id, let's say it's a number. What i am trying to get is when a user enters numbers in a certain textfield, named #idtext for example, it shows only those <tr>'s whose id numbers … | |
I am trying to call a function repeatedly after a certain amount of time delay with the help of java script. [CODE]<html> <head> <script type="text/javascript" src="prototype.js"></script> <script> function sendRequest() { Something to do } </script> </head> <body> <script type="text/javascript"> setTimeout ( "sendRequest()", 2000 ); </script> </body> </html>[/CODE] If i use … | |
Hello, I am trying to get a form to call a javascript function on submit to send an ajax request. The site sits on one server and the php target file on another. I get a status of 0. From what I read, this is because the php file sits … | |
hello all. i'm currently working on a site thats primarily php and html but id like to display the date and military time w/ seconds in javascript... "Sunday April 3, 2011 17:30:15". if anyone can point me in the right direction i'd appreciate it. thanks in advance. | |
HI! I'm trying to make a form where a dropdown menu is populated from mysql. My code: [CODE=php]<? $link = mysql_connect('localhost', '****', '****'); if (!$link) { die('Could not connect: ' . mysql_error()); } mysql_select_db('****'); mysql_set_charset("utf8"); $query="SELECT distinct first_name FROM names_table"; $result=mysql_query($query); ?> <select name="first_name" onChange=""> <option>Choose!</option> <? while($row=mysql_fetch_array($result)) { ?> … | |
Hey guys, I'm very new to web dev, I'm learning my way around it , I created an Jquery menu bar seeing some tutorial I inserted an photoslider to the page, the javascript of the photoslider is clashing up with the javascript of the Jquery menu bar and the effect … | |
Hi there I have used a script available on the internet for a multiple drop down box ( Country/State/City ). Once the selection is updated I would like 3 different set of result to show in box : Result could be value or text. Using the below script I am … | |
Hi developers, I develop a feature to recover the password for the user, but I'm having trouble to retrieving the value of json. The problem is....on success the IF condition always run the else I am pasting my code and if someone can help me. My engine JS [CODE]$("#mailResetUsrPass").click(function () … | |
Just a little problem with functions for previous and next images in a lightbox type of gallery created by me. The src of a given image is taken form href attribute of a link. I need the src of the next or previous image to be loaded dynamically maybe using … |
The End.