15,688 Topics

Member Avatar for
Member Avatar for Sailor_Jerry
Member Avatar for akmr
-1
7K
Member Avatar for raistie

Hi everyone, i am only just jumping on the AJAX train after all these years... and finding it such a headache - been spending days wondering why i keep getting it wrong. I am trying to load a jquery plugin in div using jquery AJAX. current i am using [CODE]$('#content').load('minishowcase/index.php');[/CODE] …

Member Avatar for Airshow
0
217
Member Avatar for wolfgangcs

Just learn PHP and wrote a very simple "app" and now wanting to take it offline. Is JavaScript how we access and create databases on a local level if HTML5 now? Trying to connect all the dots.

Member Avatar for jmichae3
0
134
Member Avatar for klemme

Hi all, This is a ? about Ajax, PHP and form processing. When I submit the form further below, nothing happens! I didnt set the form-"action" to anything. I left it out, to make the form submit to the same page, so I can validate on the same page too …

Member Avatar for McLaren
0
227
Member Avatar for dmservers

Hello all, I've ran into a bit of a problem and I can't figure out how to get out of it. Basically, I have an autosuggest input field on my website and I would like to get data from 2 mysql tables. It is similar to yell.com where you search …

Member Avatar for cwarn23
0
178
Member Avatar for dz.bookerz

i have this html code: [CODE]<table border="0" width="24%" cellspacing="0" cellpadding="0"> <tr> <td width="62"></td> </tr> <tr> <td width="62"><span>Country<span>:</span></span></td> <td><select name="country" class="cbbody"> <option selected>Select a Country</option> <option value="CA">Canada</option> <option value="US">United States</option> <option>--------------------------------</option> <option value="FR">france</option> <option value="ES">Spain</option> <option value="DE">Germany</option> <option value="IT">Italy</option> </select></td> </tr> </td> <tr> <td width="62">State<span>:</span></td> <td><select name="state" class="cbbody"> <option value selected>Select …

Member Avatar for MartinRinehart
0
138
Member Avatar for phorce

Hello, I'm trying to calculate the center of a DIV element. But it doesn't seem to be working, I don't quite get what to do with the calculations.. Here's my code: [code] <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <style type="text/css"> body { background-color: #cccccc; } .rectangle { width: 400px; height: 100px; border-style:solid; …

Member Avatar for MartinRinehart
0
91
Member Avatar for mwenyenia07

i have three texts namely [B]price[/B],[B]quantity[/B] and [B]total[/B]. i want the value of [B]total[/B] to change with change in [B]quantity[/B] i.e [B]total[/B]=[B]price[/B]*[B]quantity[/B]. each time the value of quanity change, the function multiplies it with price and displays the quanity. can somebody send me a javascript code that can do so …

Member Avatar for broj1
0
472
Member Avatar for Psyho

Hello. My problem is this: I have a table, for which the row and cols number is given by the user. They contai images. Occasionally a cells picture will be changed. The question I have is this: How to do that? I will be able to compute which cell need …

Member Avatar for MartinRinehart
0
149
Member Avatar for woodenduck

Hey, I was wondering if anyone could show me a little javascript. I've never used it before and am unfamiliar with how to reference outside API's. What I'm trying to do is read a string in from a website/Web API. So..: HTML with javascript document: [code] <script type="text/javascript"> var wantedString …

Member Avatar for woodenduck
0
599
Member Avatar for charles110

Trying for a few days to do this and do not know why it does not work. I want to run a php file using js. And using the event button onclick. Thanks for help file.php [code] <?php echo"<script>alert(\"good\");</script>"; ?> [/code] file.html [CODE] <!DOCTYPE html> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script> …

Member Avatar for AleMonteiro
0
127
Member Avatar for phorce

Hello, I'm using jQuery and trying to create a plugin that draws a rectangle on a canvass. However, it will not even work.. I have tried to create it when I click on a button, this does not work either.. Here is the code: [code] <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script> …

Member Avatar for AleMonteiro
0
89
Member Avatar for methuselah90

I'm writing a piece of JS code that returns a result of true if the pattern appears in string as a substring (case sensitive) but would like to extend its functionality to returns true if all the individual characters of pattern appear in string (regardless of order). For example: This …

Member Avatar for AleMonteiro
0
208
Member Avatar for SethHall

Hey guys, I've been trying to do this since yesterday with no luck. I've tried stackoverflow, DIC and this is my last chance. I'm using drop down boxes to have a user select a ship date. I don't want them to be able to choose a date in the past …

Member Avatar for SethHall
0
1K
Member Avatar for klemme

Hi all, This is a ? about Ajax, PHP and form processing. When I submit the form further below, nothing happens! I didnt set the form-"action" to anything. I left it out, to make the form submit to the same page, so I can validate on the same page too …

0
77
Member Avatar for wgrogers58

Greetings I don't know javascript but have searched google for hours until I found daniweb, and so I thought I would ask experts. I want to be able to display a message for first time visitors to a website. Ideally it would check to see if they've been to the …

Member Avatar for stbuchok
0
298
Member Avatar for Stefan_Lam88

Hi guys, I m able to do pagination. But I face another challenge where I once click next,prev or page number,it will refresh the accordion. let say i got 3 headers of accordion.namely A,B,C. After clicking any function in either B or C. It will auto refresh to header A. …

Member Avatar for MartinRinehart
0
117
Member Avatar for yorro

Hi, I am using the AjaxControlToolkit's AutoCompleteExtender without a Web Service(PageMethod). **It is working fine on my local machine, but AutoCompleteExtender won't work in the IIS but other AjaxControlToolkit does.** I've searched around but none applies to my problem. It is running in IIS-6, and Framework 4.0. **Heres my code:** …

0
94
Member Avatar for n3xtgen

I am trying to get the maximum value in an array but when I try to display it I get every value from that array. [CODE] for (var ii = 0; ii < items.length; ii++) { var myArray = [items[ii].odoEnd]; var highestEnd = (Math.max.apply(Math,myArray)); $("#trips").append("<li>" + items[ii].TripDate + " : …

Member Avatar for Airshow
0
150
Member Avatar for ibakir

Hi Guys i want to show a beep! sound after a message come to me when the windows would be minimized....i think i shall put a statement after if(r.chats.length){ here's the total script: [CODE]// This method requests the latest chats // (since lastID), and adds them to the page. getChats …

0
95
Member Avatar for chijkl

I have problem with the convert button please help Thanks in advance [CODE] <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <script type="text/javascript"> var th = ['',]; var dg = ['zero', 'ichi', 'ni', 'san', 'yon', 'go', 'roku', 'nana', 'hachi', 'kyuu']; var tn = ['juu', 'juuichi', 'juuni', 'juusan', 'juushi', 'juugo', 'juuruko', 'juushichi', 'juuhachi', 'juuku']; …

Member Avatar for chijkl
0
139
Member Avatar for ZeroEddy

Hey I have recently started to learn canvas in html5. As of now I can draw all the basic shapes rectangles arcs etc. I am also able to get the mouse coordinates and show them in a text box in the main body of the html. I am just wondering …

Member Avatar for ZeroEddy
0
268
Member Avatar for Violet_82

HI there, I was again watching a jquery/ajax tutorial and in the video [url]http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-day-10/[/url] they show how to use a [ICODE]return:false;[/ICODE]to determine whether a scrip will execute (javascript on) or will go to a separate page if the javascript is off. Basically I have 2 pages test.htm and new_file.htm. The …

Member Avatar for Violet_82
0
228
Member Avatar for ibakir

i need a help this is made me crazy, it works on all the browsers but the IE 8 not working at all , you can check this link below: [url]https://www.facebook.com/DalilackAds?sk=app_206541889369118[/url] the captcha says its wrong but in all the other browsers works just fine. Thank you

0
129
Member Avatar for ujjwal uniyal

Hello all!!! My Javascript menu is giving me some problems. whenever i hover the mouse over the menu the dropdown is hiding behind the javascript slideshow. can u plz help me out. Here is the link to the website. [url]http://www.sewaindia.org/[/url]

Member Avatar for ujjwal uniyal
0
52
Member Avatar for jfunchio

I have this code that displays a thumbnail strip and then when you mouse over a thumbnail a bigger images shows up over the strip. The problem is it only is working on some of them and only when the mouse is over a certain part of the picture. When …

Member Avatar for jfunchio
0
169
Member Avatar for govnah

Hi friends, i am trying to create a media gallery which will display images from a folder. I have sorted the images into a separate folders according to years i.e (2011,2010,2009). which i will be using as navigation. so far i've been able to list the folders in the directory …

Member Avatar for govnah
0
175
Member Avatar for gg3l

Hi, This is a demo of what I'm trying to do: [CODE]<html> <head> <script type="text/javascript"> window.onresize = resize; function resize() { if (document.getElementById('elm1').offsetWidth < 1000) { document.getElementById('elm2').style.width = 1000 } if (document.getElementById('elm1').offsetHeight < 600) { document.getElementById('elm2').style.height = 600 } if (document.getElementById('elm1').offsetWidth > 1000) { document.getElementById('elm2').style.width = "100%" } if (document.getElementById('elm1').offsetHeight …

Member Avatar for raphie
0
240
Member Avatar for 18engineer

i want the code of passing form elements with post in php with ajax.. i am trying a number of codes,but all in vain:( can anyone send me please, full code

Member Avatar for joehms22
0
150
Member Avatar for Metophase

Hey guys whilst I was trying to solve this issue I came across your thread which I found helpful to an extent, basically I spent hours reading up and realised that the solutions you provided doesn't do what you actually wanted it to do so here I offer my solution. …

Member Avatar for Taywin
0
251

The End.