15,697 Topics

Member Avatar for
Member Avatar for jpknoob

Hi, i am trying to make a form that when a button is clicked, a hidden div is displayed with radio buttons. i have managed to do this, however, the pagerefreshes and after a few seconds the page resets back to normal. can anyone explain what i'm doing wrong. My …

Member Avatar for gotboots
0
198
Member Avatar for deepak.marur

I'm ExtJS newbie. I need to send the contents of a ExtJS Textarea to the backend server for saving (autosave facility) as the user types in. How do I buffer the contents and push the buffer to the server after some threshold value. A code sample would greatly help me. …

Member Avatar for jogesh_p
0
326
Member Avatar for Matthew N.

Hello. I'm going to show you how to make a basic php image gallery. Firstly, create the following files [LIST] [*]index.php [*]view.php [*]/images (dir) [/LIST] Now, for the code. index.php [CODE] <?php $img = array(); $img[] = array('title'=>'img1', 'src' = 'img1.jpg'); ?> <html> <head> <title>mygallery | homepage</title> </head> <body> <h2>mygallery</h2> …

Member Avatar for Matthew N.
0
422
Member Avatar for DaSpirit

I need to update the SQL table every minute, as if typing on an online notepad, that save frequently. So of course, I have: [CODE]<textarea rows="20" cols="80" id="notepad"> <?php $con=mysql_connect("localhost","username","password"); if(!$con) { die('Could not connect: '.mysql_error()); } mysql_select_db("database", $con); $result = mysql_query("SELECT * FROM Notepad"); while($row = mysql_fetch_array($result)) { echo …

Member Avatar for pritaeas
0
122
Member Avatar for stoopkid

All I am trying to do is place the marker number in the map. I was able to do this with V2 of Google Map API, but now I have not a clue how to do it in V3. I've exhausted Googling this issue, and now come to my favorite …

Member Avatar for pritaeas
0
111
Member Avatar for adn295

I have gone through the basic techniques to implement comet server like streamhub,Maven/Jetty etc. I have following questions for that : After that I found the issues like in case of Maven/Jetty internet connection is required for downloading certain files from net.So it it possible to implement it if no …

Member Avatar for adn295
0
153
Member Avatar for jonsan32

Don't know what I'm doing wrong, but I'm positive it's me. This dropline menu works perfectly in Chrome, but completely goes to crap in every other browser (not just IE, which I'm used to). If you have any pointers, please pass them my way. I've pasted the code - in …

Member Avatar for jonsan32
0
176
Member Avatar for sanstepsan

I have included the following code in my website as a game for young kids to try and locate the erased position of a golf ball. Firefox runs the code perfectly and when the correct location is clicked the small golf ball pops up at that point. In IE however, …

Member Avatar for Taywin
0
89
Member Avatar for vasuv

Hi, I am new to HTML kind of stuff. I have some documents in my own folders for different applications. I want keep all the documents in related Hyperlink under that particular department. after creating all the hypertlinks that link link should navigate to that particular document. once it is …

Member Avatar for Taywin
0
104
Member Avatar for cgull

Hello, I have downloaded a jquery gallery and made a lot of changes to it. Now I am stuck with one thing that I can't change. The gallery has thumbnails that scorll on the bottom. I want the direction of the big image animation to change. It is hard to …

Member Avatar for AleMonteiro
0
212
Member Avatar for sun-tzu

The actual plugin is much more complex, but I can't even get this simple alert to show... [CODE] (function($){ $.fn.randomize = function() { var defaults = { }; var options = $.extend(defaults, options); return this.each(function() { obj = $(this); alert(obj); }; })(jQuery); [/CODE]

Member Avatar for AleMonteiro
0
105
Member Avatar for mawk

Hello, been lurking around to see if I could find any kind of solution to what I'm trying to solve, but the closest thing I got was this old thread: [url]http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/313687[/url] [B]What I want[/B] I'm trying to create is a SELECT menu with an INPUT field, but the INPUT field …

Member Avatar for mawk
0
250
Member Avatar for deepak.marur

I have a data store having a Note field (a textarea) and want to display all Notes satisfying a user input (even metacharacters). I've written the following function to handle this: function notefilter() { var newfilter = Ext.getCmp('searchnote'); var searchStr = newfilter.getValue(); searchStr = searchStr.replace('?', '\\?').replace('*', '\\*').replace('+', '\\+').replace('{', '\\{').replace('}', '\\}').replace('[', …

Member Avatar for deepak.marur
0
397
Member Avatar for prismily

Hi,I Am writing JavaScript to display JSP pages in JavaScript tabs,all JSP pages displays dynamic data,all JSP pages are working fine if i run individually,when i try to make it as tabs jsp pages are not working.can any one help me to solve this problem. my JS code: [code] var …

Member Avatar for prismily
-1
885
Member Avatar for AurosGamma

Hello, i'm making a web site as a college project, this site features html,php,javascript,ajax,jquery and mysql. I'm almost done with the website... in the website i have a game, the players can create a 'lobby' and others players joins them, so, when a lobby is created an entry in the …

0
111
Member Avatar for sun-tzu

I am building a website for a charitable organization here in Paradise, CA called Heart to Hand. One of the many things that I am going to have the site do is list children in need of Christmas presents. For those people that are a bit indecisive I want to …

Member Avatar for Taywin
0
424
Member Avatar for cjohnweb

I google'd myself silly, I can't find tutorials for this. I hope someone could lend me a hand. I'll try to make this simple. I have a PHP & MySQL driven site. I have a form for adding new content. The form has a set of check box options that …

Member Avatar for cjohnweb
0
478
Member Avatar for cjohnweb

I have this in a script of mine: [code=javascript] function add_option(section){ var sec = section.id; var addnew = document.myform.addnew.value; alert('add_option: section: '+addnew); [/code] I am pulling text from the input with the name of addnew, and it works. I would like to use a variable in place of the "addnew" …

Member Avatar for cjohnweb
0
198
Member Avatar for sun-tzu

Basically what I need to do is take a number of elements, lets say 6 in this case, all of which are div's with an image child e.g. [CODE=HTML] <div class='triangle-element'> <img src="../images/face.jpg" /> <div> [/CODE] I want to be able to eventually take each instance of .triangle-element and turn …

Member Avatar for MartinRinehart
0
87
Member Avatar for bkimbriel

Not sure if this is the right place but it looked good to me lol. Anyway, I'm looking for a web PDF viewer that I could set up "locations" on the pdf for the user to select from and view using one single pdf, and it has to work on …

Member Avatar for bkimbriel
0
119
Member Avatar for domh87

I have to make a calculator on a site to determine a lump sum payout on life insurance, the user would enter all of 1. Gender, 2. Smoker or Not, 3. Monthly Payment. For each of the different variables there is a unique lump sum amount but no way of …

0
117
Member Avatar for fredfletcher

Hello, Wondering if someone can help me with this. I would like to set/create a single-use/temporary "cookie" for the duration of the user's session or possibly for up to 2 days and have a popup alert box, telling them that their screen resolution is too low to view. I have …

0
71
Member Avatar for terrymold

Hi everyone I have developed a PHP page which uses a few JavaScript functions and other JavaScript code to initially display today's date (and plus other data as well!). At the top of the PHP script is a PHP include file which determines whether or not today is BST - …

Member Avatar for banizdaymov
0
399
Member Avatar for kgizo

hello I'm developing an online game for this mini project we are about to embark in. The game I'm developing is similar to battle ship its just that I will use my own entities instead of using battle ships. Now I've already have a full code for the game which …

0
95
Member Avatar for vuyiswamb

Good Day All i am creating Textboxes at Runtime with something like this [CODE]Dim cnt As New TextBox cnt.ID = "cont_" & x If multiline Then cnt.TextMode = TextBoxMode.MultiLine End If [/CODE] These are dynamically created fields. so what i want to do is to use this following JQuery on …

Member Avatar for vuyiswamb
0
731
Member Avatar for JimPatrick

Hi Guys, We are having an issue with the video playing on our client's site. The video plays fully locally but not fully once set live on the any of the browsers, it plays just the first 15secs, then it stops. Can anyone share some ideas as to how we …

Member Avatar for sun-tzu
0
175
Member Avatar for Rizi004

I want to know that how i can get the text which user write in text area and want to show that text in web page same as facebook when we write something and and add comment it will show in a div how i can go with innerHTML i …

Member Avatar for sun-tzu
0
189
Member Avatar for strRusty_gal

Hi everyone, Hope i have posted at the correct section. Currently i am using ASP.NET UpdatePanel and a JQuery nyroModal.when i click on the link that have the CssClass that links to the nyroModal, it will display the error message instead of going to the success function. Is there anything …

0
52
Member Avatar for poloblue

Good Morning, I'm new to javascript and the professor ask us to do a javascript program of future value calculation program. The details are: Write a program to find future value of monthly investments. Start with an initial investment, make a deposit every 30days, calculate interest on principle compounded daily, …

Member Avatar for poloblue
0
2K
Member Avatar for shruti.cs17

I know this is kind of silly but I am getting confused and don't know where to add the OnSubmit function which is supposed to open the SaveEvent.php file (its in the www directory). As of now the code doesn't work. As in nothing happens when I click the submit …

Member Avatar for mathieu89
0
166

The End.