199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Priti_P

Hello, I have a div in which I have written values fetched from an ajax call. I want, when double click on any word in that div , alert that word. I refered http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/479879/how-to-detect-clicked-word-in-textarea-with-right-click-and-show-menu-items and well some stackoverflow. but did not get answer. code is as below FYI. $("#other_skill_name").keypress(function() { …

Member Avatar for Taywin
0
177
Member Avatar for moaz.amin.37

i am confuse about `paint()` method in applet .The confusion is that paint method is getting object as parameter of Graphics class like this `public void paint(Graphics g)` and i read that the Graphics class is an abstract class then how we create object of Graphics class and now you …

Member Avatar for JamesCherrill
0
385
Member Avatar for lyleholc

Hi, I’m pulling out my hair getting Apache/Perl to work and would like some help with getting httpd.conf, Windows path, and other setting correct to run some Perl programs. I’ve set alias, Options, AddHandler, etc. but the simple program below gives permission errors. I’m running a Bitnami WampStack on XP …

Member Avatar for Taywin
0
275
Member Avatar for skp03

Hello Everybody i am using VS2010 C# Windows application i have a doubt how can we encrypt a video file (i have three video files which should not copy and it should not be opened directly) i have designed a application that has a form1 and three buttons in it …

Member Avatar for Mike_Gr
0
599
Member Avatar for samuel.tenderfeet

I recently submitted an assignment to my instructor, and i got a less than desirable grade and the jist of the marks were that iw as using hard coded variables so can someone explain to me how to use the getter method a little better? (i assume thats what i …

Member Avatar for stultuske
0
149
Member Avatar for abeer araji

thanks all for help im new in the website and i dont even know how to use it well im not a cheater or any thing else and i will not copy past any thing !! Im here just to learn

Member Avatar for JeffGrigg
0
136
Member Avatar for Fazelessmetal

/* Written by HAYZAM SHERIF ! USE IT HOWEVER YOU WANT :D */ #include <iostream> #include <string> using namespace std; char name[100]; wchar_t words[100]; int choice; int main() { //main string userstring; string mystring; mystring = "THIS GAME IS COOL"; cout<<"Hello Welcome to the Code Game!"<<endl; cout<<"--------------x----------------"<<endl; cout<<endl; cout<<"Please enter …

Member Avatar for deceptikon
0
171
Member Avatar for Jjajangmyeon

I've hit a wall. I'm trying to open a .txt file and then copy it's contents into an array of character arrays. Can someone point in me in the right direction. I've been at this for about 2 days now and haven't made any head way. Below is a sample …

Member Avatar for Jjajangmyeon
0
11K
Member Avatar for Fazelessmetal

#include <iostream> #include <string> using namespace std; int main() { string x; cout<<"Enter Text : "<<endl; cin>>x; getline(cin,x); cout<<"The text entered was, "; cout<<x; system("PAUSE"); return 0; } Output that I get when I enter 1 word : Enter Text : LOL The text entered was, Press any key to …

Member Avatar for NathanOliver
0
350
Member Avatar for Violet_82

Hi guys, I run into a problem. I am trying to write a small program. There should be 4 radio buttons and each of them controls the colour of the Content Pane. The problem I have is with the anonymous inner class (I hear JamesCherrill muttering "why do you bother?", …

Member Avatar for JamesCherrill
0
298
Member Avatar for chaitu11
Member Avatar for Borzoi
0
106
Member Avatar for dwlamb

This is a typical entry of many on a page: <div class="link_entry"> <div class="link_actions left"> <span class="LibraryItemDelete"> <img src="images/ajax-urls/delete_icon.png" title="Delete this link" alt="Delete this link"> </span>&nbsp; <span class="LibraryItemEdit"> <img src="images/ajax-urls/edit_icon.png" title="Edit this link" alt="Edit this link"> </span> </div><!-- /link_actions --> <div class="link right"> <input type="hidden" value="92" name="id"> <--want to find …

Member Avatar for dwlamb
0
303
Member Avatar for asaidi

Hi i m using my host to save mysql database.. when i fill the fields the data is saved ..but i m keeping getting this error ..and really the data input is saved i dont understand why.. the error i get thank you in advance com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The …

Member Avatar for asaidi
0
301
Member Avatar for monkeybut

I am creating an AlertDialog that I can enter a new value into a SQLite database. The Insert method works if I call it by itself in the onCreate() method, but when I try to call the method in the setPositiveButton onclick listener it doesn't work, it gives me a …

Member Avatar for monkeybut
0
1K
Member Avatar for Jack_9

Is C really a good language do have under your belt? Would it be better just to learn C++?

Member Avatar for Hiroshe
0
103
Member Avatar for sganandhsg

Hi, In my project developed for using asp.net with vb.net coding. Now we need to performace testing using the Jmeter tool. we can't able to test because in my application lot of session variable used, Jmeter tool does not support session variables i think. Check with debugging: 1.Assign the session(userName) …

Member Avatar for Dmitri_1
0
310
Member Avatar for abaddon2031

Im working on a project where i have to get the number of printers that are allocated to a certain job and need to split the file name up so that i can read the type and the number of printers and if its a half bed or not. The …

Member Avatar for snippsat
0
269
Member Avatar for rowen_1

Requirements 1. the user clicks the button(Go to animation page) at page one 2. the user will be directed to page two whereby an animation is played for 5 seconds 3. after 5 seconds, the user will be directed to page three. I am trying to delay a page for …

Member Avatar for JamesCherrill
0
186
Member Avatar for everton.retweets

Hi Everyone, I am trying to get to grips with php prepared statements, I am getting there slowly... My question is how do I ge the last insert ID from the following. if ($stmt = $mysqli->prepare("INSERT INTO tbl_name (value1, value2, value3, value4, value5, value6, value7) values (?, ?, ?, ?, …

Member Avatar for diafol
0
1K
Member Avatar for kdejan87

I would like to know which way querying is a better, safer, more efficient. And whether there are some major differences. Sending two examples of code. Would I need something to add, modify or delete. Feel free to express your opinion. Try con.Close() con.Open() Dim sqlQuery As String = "INSERT …

Member Avatar for deceptikon
0
177
Member Avatar for star_trek

hii all, # this is one text file i want to extract data from # Datum/Uhrzeit,Sta.,Bez.,Unit,TBId,Batch,OrderNr,Mat1,Total1,Mat2,Total2,Mat3,Total3,Mat4,Total4,Mat5,Total5,Mat6,Total6,Summe 41521.880937(04.09.13 21:08:33),TB01,TB01,005,300,9721, ,2,27473.31,0,0.00,0,0.00,3,1790.40,0,0.00,0,0.00,29263.71 41521.922606(04.09.13 22:08:33),TB01,TB01,005,300,9741, ,2,27528.53,0,0.00,0,0.00,3,1795.30,0,0.00,0,0.00,29323.83 41521.964274(04.09.13 23:08:33),TB01,TB01,005,300,9760, ,2,27580.88,0,0.00,0,0.00,3,1799.97,0,0.00,0,0.00,29380.84 41522.005942(05.09.13 00:08:33),TB01,TB01,005,300,9780, ,2,27636.00,0,0.00,0,0.00,3,1804.86,0,0.00,0,0.00,29440.86 41522.047610(05.09.13 01:08:33),TB01,TB01,005,300,9800, ,2,27691.12,0,0.00,0,0.00,3,1809.75,0,0.00,0,0.00,29500.87 ## I am unable to extract date and Summe from this file ## 04.09.13 21:08:33 29263.71 04.09.13 22:08:33 29323.83 …

Member Avatar for Fenrir()
0
333
Member Avatar for lloydsbackyard

I have this code below for export mysql database to excel..however, if i run this it will only export the html code of the page not the sql query..please help..thank you. <html> <head><title>Exports</title> <link rel="stylesheet" href="css/css.css" /> <h2>EXPORT DATE/YEAR</h2></head> <form action="" method="post"> <table> <tr> <td><input size="40" name="searchString" type="text"class="ed" /> <select …

Member Avatar for urtrivedi
0
1K
Member Avatar for ayeng

Hi, I need help! I want my textbox value to be change using jquery in cakephp during onchange event of my textbox. below is my add.ctp code: <div class="jobs form"> <?php echo $this->Form->create('Job', array('type'=>'file')); ?> <fieldset> <legend><?php echo __('Add Job'); ?></legend> <?php echo $this->Html->script('ckeditor/ckeditor'); date_default_timezone_set('Asia/Manila'); echo $this->Form->input('users_id'); echo $this->Form->input('comp_name', array('label' …

0
138
Member Avatar for Jack_9

In my personal opinion PHP is a great language. I love that it can be written with html and css for style, and database and such quality. But why do PHP deevelopers earn less then other types? PHP helps get the website through sql and helps make it interactive. You …

Member Avatar for veedeoo
0
146
Member Avatar for rjusman90

this code search all data not from current pagination page <html> <body> <div id="content"> <style> .current { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #000099; font-weight: bold; background-color: #000099; color: #FFF; } li { display:inline-block } </style> <?php include"connection.php"; $start=0; $limit=5; $id=''; if(isset($_GET['id'])) { $id=$_GET['id']; $start=($id-1)*$limit; } …

Member Avatar for rjusman90
0
330
Member Avatar for ashalatha

Controller: $data['error'] = ''; //initialize image upload error array to empty $config['upload_path'] = './uploads/'; $config['allowed_types'] = 'csv'; $config['max_size'] = '10000'; $this->load->library('upload', $config); // If upload failed, display error if (!$this->upload->do_upload()) { $data['error'] = $this->upload->display_errors(); $data['mainpage']='category'; $data['mode']='addcsv'; $this->load->view('includes/mainpage',$data); //Category Id Category Name Sub-category Id Sub-category Name } else { $file_data = …

Member Avatar for veedeoo
0
283
Member Avatar for ronniel.duque.1

Need Help Please I want to create a password textbox that would tell if my password that I input is strong, good or weak It will tell that my password is strong if it includes numbers, letters and special characters good if it has letters and numbers and if it …

Member Avatar for Hiroshe
0
630
Member Avatar for myk45

Hi, I have a Qt based tool and I want to add a QtWidget(button) in the gui which will act as a help button for my tool just like the windows help button for any application. The help button when pressed should display some text information in the form of …

Member Avatar for mike_2000_17
0
174
Member Avatar for ms061210

Hi, I want to Count the number of occurences of data in a table, then multiply it in a value from other table, After that I want to sum up the product of count and the value from other table, As of now, I cant count and then multiple but …

Member Avatar for diafol
0
293
Member Avatar for samy.youssef.12

whenever i use mysql_connect() It gives Fatal errror of using unidentfied function i'm using mysql version 4 on windows 7, what to do? it looks like php never heard of that function, wonder if someone does have a straight forward solution?

Member Avatar for samy.youssef.12
0
397
Member Avatar for mc3330418

This is a really basic question. I validate evrything from my form in javascript so no validation is going through php. The problem is, when the user submits the form ajax has already checked is the username has already been taken or and gives them a message if it is. …

Member Avatar for almostbob
0
242
Member Avatar for Steven_9

I am currently taking java and learning how to create GUI. I am trying to create a GUI whereby 1) Upon executing the application,the user will need to key in his username and password. 2) the user will be brought to second page which displays "Welcome to Page Two!" if …

Member Avatar for Steven_9
0
2K
Member Avatar for soujanya.bhat.184

Hi Guys, How to write the contents of JList into a text file. i have a JList and i want to add the list elements to a text file. How to do this?

Member Avatar for stultuske
0
285
Member Avatar for Samarth_1

Hello, I am a bit new to vb.net. I Want to make a translucent button but I am not able to make it. Can anyone help me please? Thanks in Advance

Member Avatar for deceptikon
0
361
Member Avatar for Saboor880

Hello to all! I have two questions 1- please give me a internet link from where i download Vb 6 enterpize edition setup 2- Please also give me a link from where i download vb 6 enterprize edition origina/reference book

Member Avatar for deceptikon
0
228
Member Avatar for kdejan87

Hello. I recently begun using vb.net. I am creating a form application using Visual Studio Express VB 2008 and SQL server 2008. I have two forms. When the program start is not showing me any form. What is to be done that I could use two forms as one program. …

Member Avatar for ddanbe
0
125
Member Avatar for Priti_P

Hello , I want to show spinner while processing below data. // SHOW SPIINER HERE $.getJSON("./php/fetch_record.php",{Record_id: Schedule_id, ajax: 'true'}, function(j){ for (var i = 0; i < j.length; i++) { $.post("/Test/Simple_form_submit", { //variables here },function(data){ }); } // HIDE SPINNER HERE I had tried show and hide div here but …

Member Avatar for Priti_P
0
706
Member Avatar for nadiam

Hello. I have and event.php page and del_single.php page. event page has a form: <form action='del_single.php' method='get'>//<-i already have the method as get <input type='hidden' name='event_id' value='$id'> <input type='checkbox' name='check[]' class='check' value='$id'> <a href= '#' value='$id' name='e_n' onclick='getsum(".$id.")' >$name</a> <label>$formatDate</label> <input type='submit' name='del_single_event' value='Delete'> </form> as you can see i …

Member Avatar for cereal
0
563
Member Avatar for crdipu

Hi all, I have made a web-service in php. I had run a load test on the same by using testing tool Jmeter. And got the result in as graph, please help me to analyze the graph. It shows 3 important parameters that are 1)Deviation, 2) Median and 3) Average. …

Member Avatar for Dmitri_1
0
305
Member Avatar for Sikander Nasar
Member Avatar for veedeoo
0
448
Member Avatar for nadiam

Hello. right following [this post](http://www.daniweb.com/web-development/php/threads/481499/form-action-is-on-a-different-page) that i posted up just now, i wanted to edit the question but then i couldn't anymore. sorry if that annoys anyone. anyway, i was thinking of putting all the php scripts into one page and googled and found [this on stackoverflow](http://stackoverflow.com/questions/8152260/having-multiple-scripts-within-one-php) and implemented it …

Member Avatar for Daisy_1
0
2K
Member Avatar for Mr.M

Hi Dw I've create a program to capture the images using the webcam and now what I want is that before the image is saved the program verifies if that image has already been taken and saved. Suppose the I have captured my picture and then if I recapture my …

Member Avatar for Mr.M
0
211
Member Avatar for spyros.lois

Hello How can i maka a ppt viewer within a form application in c sharp? what is the control that will contain the presentation? i tried webrowser control but i gave up.

Member Avatar for du_1
0
175
Member Avatar for messr135

I'm making a word unscrambler, an anagram solver of sorts. So, I've stored all possible variations of the word in storedstrings which is an array of strings. Now, i need to delete all the same strings in storedstrings and then store the unique strings in another array of strings. This …

Member Avatar for David W
0
415
Member Avatar for Craigowls

Hi All, I am trying to create a drawing database in Microsoft Access. Each user has a unique log in to the databse, when they log in and go to a part I am wanting them to be able to open the drawing by pressing a button and print it. …

Member Avatar for hericles
0
515
Member Avatar for JNDZ

When I calling AS400 stored procedure from C# application I get this error MSG - ERROR [42S02] [IBM][Client Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL0204 - GVSP07 in TESTGV type *N not found. Please anyone can help me??????

Member Avatar for cgeier
0
2K
Member Avatar for geekboots

[Click Here](http://www.geekboots.com/c/intro) get lot of simple c programming which will help you to learn C programming at the beginner stage.

Member Avatar for deceptikon
0
306
Member Avatar for Christopher_7

I need to know if I'm doing this right. I just recently started Psuedocoding and I'm still confused about it. If I was to test this code would it work? Declare Employees[100] as String Declare Salaries[100] as Integer Declare K as Integer Declare Average as Integer Set Sum = 0 …

Member Avatar for deceptikon
0
163
Member Avatar for EarhawkPH

Here's the problem: Write a program that will input values for A and B. Compare two values inputted and print which of the values is higher including the remark “Higher”. So here's what i've done so far main() { int A, B; clrscr(); printf("Input Value for A: "); scanf("&d", &A); …

Member Avatar for deceptikon
0
188
Member Avatar for Jjajangmyeon

I'm writing a program that stores passwords into a char array then checks for 1 upper, lower, number and allows @ - _ . For some reason it won't read the special chars - unless I include this function, but when I do it only evaluates those in the function, …

Member Avatar for Jjajangmyeon
0
152

The End.