199,114 Archived Topics
Remove Filter ![]() | |
Hi. I'm trying to make a script which submits the form without refreshing the page. Also, I'd like to have it submit onkeyup. I can't figure out how to do that. Can anyone help me? My code is [CODE] <script type="text/javascript"> $(document).ready(function(){ var $form = $( '#myform' ), url = … | |
I can not for the life of me get an ajax example/tutorial to work. I have tried dozens including prototype library and JQuery. Here is my latest attempt: [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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Easy</title> <script type="text/javascript"> function getXMLHTTP() { … | |
Hi, I want to make a report of several fields - however, rather than showing each record for each field I just want to display totals. Given this I think it would read a lot better if I had the field headings in one column down the page, so it … | |
Now this question is being written in Scala, but Scala is Java compatible. I will translate the java code into Scala. // Write a recursive function "upto" // that takes two Int parameters "start" and "end" and produces a "List[Int]" // that counts DOWN from "start" to "end" (inclusive at … | |
Hey I had made a chatbox, where if it don't know to the question, it just spit random sentence that don't make sense, but i don't how to make it read the question and se if it has a answer for it, and if it don't have a answer it … | |
Is there a way to change the ftp password for a certain user programmatically? | |
I have a string that has a ton of random characters (pulled from a webpage). I want to pull all of the numbers, commas, hyphens, periods, and percentages from the page and put them into a text file. I'm new to C++ so I'm not sure how I'd go about … | |
Hey everyone, I've been using python quite a bit to develop scientific applications. As of late, the Enthought Tool Suite is proving to be one of the handiest set of development tools out there. One question I have is, with commercial software, I often see the ability to plugin output … | |
Hi! I've been reading this for hours and I can't find the error. Obviously I'm brand new at reading codes so can anyone help me? I think the error is in the following line (under logo config). Thank you so much! // logo config ----------------------------------------------------// [CODE]function simple_logo(){ $src = (get_option('Simple') … | |
I have an assignment to make a program for Time Entry. I am trying to get it where the Get payment button is disabled when the program first executes and then enables once I have submitted hours for five days. Below is the code I have so far and any … | |
hi gyz, i've got my first Assignment of java. first i do coding plz take a look. : /* The HelloWorldApp class implements an application that simply displays "Hello World!" to the standard output. */ public class HelloWorldApp{ public static void main(string[]args){ //Display the string.No global main System.out.println("Hello World!"); } … | |
Hi, im looking for some advice/guidance with regard to visual basic. Im and final year engineering student and my project requires me to make a graphical user inter phase to teach aerodynamics. I need to find out how to link the programme i design through VB with excel. Then the … | |
How do I do 2D opengl? I need to be able to put stuff up on the screen so that it is not rendered in three dimensions, and I need the 3d stuff to still be 3d behind it. | |
Hi, I have to do program that uses a for loop to traverse a linked list. I have 99% of the program done and ready to go but our professor wanted us to use a specific loop which is the loop on line 31. I don't understand what b is … | |
Hi guys, I am still new to JavaScript. In our class we were required to create an application wherein you can dynamically add elements and use them. I don't know what I am missing here. Any ideas? Thanks in advance. Some of the codes are actually based on this link: … | |
I have a for loop that loops with a listbox. For each item in the listbox I want to perform a httpwebrequest. My loop is doing the first item then occasionally just iterates down the list not doing the httpwebrequest for the other items. Im not sure if theres not … | |
Hello, Despite much searching, I've hit a wall with trying to get a varying number of records inserted into a database. Here's what I'm trying to do..... I'm building an online sign on site for races at a sailing club. For the sign on page, I want to make it … | |
I have two date field in a table. Start and End I need to run a query to find out which records in a period. For example, in database have two date fields (event_start and event_end) I want to find out all activities include in 13/8 to 15/9. Not use … | |
How do I check whether the data members of two objects belonging to the same class are equal? Will the following code do or is it done in some other manner?? [CODE=C++] class Sample { int a; public: S(int x) { a = x; } int getA() { return a; … | |
I am just trying to load a data file into an array and display it. I run it and nothing comes up on the screen. Are my arrays set the right way and set to be output the right way. Please let me know what I am missing. int main() … | |
What is wrong with this code in IE, rest of the browsers its working fine, but when it comes to IE, it gives an error popup, Access is denied. Can some one help please. [CODE] var IE = false; if (navigator.appName == "Microsoft Internet Explorer"){IE = true} if (!IE){document.captureEvents(Event.MOUSEMOVE)} document.onmousemove … | |
Hello all, I have a form with 24 textboxes incremented by a letter. example: txtDimVala1.text, txtDimValb1.text, txtDimValc1.text, etc. I created a code to check each textbox, but there must me a more efficient way to loop it. I have tried a few loops but I cant get them to work … | |
Sir, I am not getting any fault in my code but the code is not executing with the demands which I have. I just want to insert values into the database using jsp ,execcuteUpdate() is not working. please help me out. [B]HTML CODE[/B] [CODE] <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; … | |
I am a final year student ,I have taken up this social network as my final year project. I want to make a video conferencing social network,Much like Omegle, searched the whole internet but didin't found it Is there a way of doing it using java applets,Or through any other … | |
I am using a sms site's api to provide free sms to my site's visitors, as this site has provided me http api and based on that i developed these 2 following pages. freesms.html [CODE]<html> <head><title>Send Free Sms</title> <script language="Javascript"> function validate() { var valid = true; if (document.formvalidate.FieldData1.value == … | |
I'm really new to C# so this may seem like a novice question..How does C# accomplished passing a reference to a object reference? I'm really trying to understand the underlying mechanisms and how it applies to the attached code with the comments - //what happens here? Do we pass a … | |
Is there some sort of script I can write that logs usernames every time someone (other than owner) "cd's into my pub directory"? any ideas? thanks | |
I have a sample program that shows how to load data into an array but I need to change it to sort movie titles into columns for movie title, length,year, media type from a file named movies.dat It asks first from where to load...then loads in no particular order...then sorts … | |
Hi, I know of two curl and libtorrent but I was just doing a study on what library/component/whatever you call it, is famous among download managers. I could not get information on FreeDownloadManager, Flashget, Multiget, DownloadThemAll et al. Would you help me find what libraries do these use, especially for … | |
I'm using [URL="http://colorpowered.com/colorbox/"]colorBox[/URL] to show up a dynamically populated Image. I need to show one image as the Thumbnail & when this thumbnail is clicked a lightbox opens and a group of images slide inside it.. ColorBox uses rel tag to group the images that are displayed, I need to … | |
I require a survey c++ program. The requirements are that it must do the following: It must first the user what they would like to do: 1.Complete the survey and writing it to a file, averaging some results and then quiting 2.Read the survey results from the files (password protected) … | |
In my application, I have to draw 25 images of 700*500 pixels. I am trying to use ImageIO.read() method, which is called by creating another Thread. Its taking too much time to read images. I thought since i am calling the image read functions by creating another thread my another … | |
Guys, I got a problem in File Handling.. I entered two words(My World)to be saved in a file but the file displays the first word only. Can you guys help me.... | |
I found an old thread that had never been answered here - [url]http://www.daniweb.com/software-development/vbnet/threads/330981[/url] Basically, the guy was asking how to retrieve database names and/or table names from a MySql database with vb.net. Here's my answer to that. Yes, I still use vb6 because vb.net is not much better and I … | |
I have to write an application in which a text file is read and stored in a vector of strings [CODE]vector<string> text;[/CODE] After that I have to compare each character of text loaded from a file with an array of char with default content [CODE]char ARRAY[21] = {... ... ...}[/CODE] … | |
Front End : VB 2008 Back End : Access 2003 Example of Database Record: [B]cCode | Name | Company | Contact [/B] 20091 | ABC | XYZ | 123 20101 | AB1 | XYZ1 | 456 20102 | AB1 | XY123 | 987 I am using year for making a … | |
Hi i am trying to get the values from a comma separated .dat file into an array in C. The values in the .dat file only consists of 1 and -1. I have been trying for hours now, so i decided to ask for help. Here is an example from … | |
In C, array is sequence of variables. int arr[3]; if arr is 2000 then arr+1 is 2000+sizeof(int). lly arr+2 is 2000+2*sizeof(int). in that way array elements are accessed but in JAVA array elements are dynamically allocated using new. then how all others variables are accessed, means I want to ask … | |
Hey I have been trying to make a chatmachine, and i wanted to make it play music when the user asked for it, but the problem is how can i make the music stop again? Without closing the player, but by closing with the program.. I used this code [CODE]System.Diagnostics.Process.Start("C:Moves … | |
Hi There, I've come across this interesting web page - to see what I'm talking about, just hover over each image: [url]http://poptech.org/speakers?utm_sour...m_medium=email[/url] Could this sort of thing be accomplished fairly easily with an existing javascript library/script? A jquery script would be ideal if such a thing exists. Thanks, Dan | |
I have a doubt regarding [B]stack[/B] in c functions... Here is a program which shows an example... [CODE] #include<stdio.h> int display(); main() { int m=display(); printf("m is : %d\n",m); } int display() { printf("1234\n"); return; } [/CODE] outputs: 1234 m is : 5 [CODE] #include<stdio.h> int display(); main() { int … | |
im tried to make a vb creator to create account but how to show the captcha in my form? please teach me how to do it. Thank you. | |
I am trying to build a WebPart using C# that passes the selected value from one WebPart to another WebPart. To do this I am using a Public interface to get the values. When I try to compile the code it returns the following error... "A namespace cannot directly contain … | |
I have a set of 4 HTML list items and I'd like to shuffle the order they appear in once a week. I have found the following which could be used - but at the moment, it only returns one list item - how could I modify it to show … | |
Hi folks, I am working on a Windows Form project that all things in it are dynamically created during run time. So all controls are created during running application and also events are assigned to controls. Also I have to mention all controls are user defined controls. All event functions … | |
hey I am having confusion in the output of a simple program. here is the code:- [CODE] int main(void) { printf("%d %d",sizeof('A'),sizeof("A")); return 0; } [/CODE] output on my compiler(gcc):- 4 2. I thought sizeof("A") is considered as string ending with '\0' so there are two characters i.e,2 bytes a … | |
I have a code which works, but I need a main method. can anyone please tel me where I can put the main method, I'm still struggling with that and maybe someone can give me pointers for the future. Thanks [CODE]public class BinaryTree { BinaryTree left; BinaryTree right; int value; … | |
Hi all, I am receiving the keyboard read/Terminate command from the client(PC) to the Board(Windows CE) through Serial Interface. I need to terminate the character reading from Keyboard if i receive Terminate Command. Termination/Continuation is been handled inside a thread. But whenever Terminate Command comes Character reads are continuing till … | |
Hello Everyone I have a simple form posting to mysql database. I set one of the fields to be Text Area. I have and HTML Link Code that needs to be in that field. When I upload he data to the db, my " gets hashed out a \ gets … | |
The End.