199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ello

hey guys could anyone quickly show me how I'd go about combining these: [code] $(document).ready(function(){ $("#generate-quote").click(function(e){ e.preventDefault(); $.getJSON("generator.php?", {act: 'char_con', bc: '1'}, function(data){ $(".quote").html(data); }); }); }); [/code] [code] $(document).ready(function(){ $("#env").click(function(e) { e.preventDefault(); $.get("char_con.php?", {act: 'char_con'}, function(data{ $(".q").html(data); }); }); }); [/code] Right now they obviously do different things, but …

Member Avatar for ello
0
120
Member Avatar for anthony5557

I need some help with the javascript code. I have the structure down I need help with the functions. I want to enter the temp in the box and the run the function and replace the number with the converted temperature. Can anyone help me. Here is where I'm at …

Member Avatar for hielo
0
228
Member Avatar for McLaren

Hi, I have a button: [CODE]<input class = "save" type="button" value="Išsaugoti" />[/CODE] As you can see the type is not submit, it is just button. This is because I want to not allow submission if javascript is disabled. To submit I run this code: [CODE] $('input.save').click(function() { $('form').attr( 'target', '' …

Member Avatar for McLaren
0
114
Member Avatar for heshanm

Hi all, I want to validate username and password in the [B]same page where login form exists[/B]. I have this coding and if username and password not matches it redirects to "try_again.php" page. Instead of that i want to show the validation ( "Invalid username or password") in the same …

Member Avatar for heshanm
0
4K
Member Avatar for dskumar_85

i have a hyperlink called companyname in gridview .when i click it has to open popup window and provides details of that company.can someone explain how to call popup window in hyperlink

Member Avatar for imamul.karim
0
2K
Member Avatar for Annettest

Hello all: I have read that the purpose of const member functions is to specify which functions may be used on const objects. This makes sense. An example is given in my text and I don't understand it. If anyone could help, I would be very grateful. Here is the …

Member Avatar for Annettest
0
220
Member Avatar for Amoryethel

I'm in the works of creating a program that dishes out basic arithmetics with fractions, i.e., add, subtract. However, I found myself stumped over this error. [QUOTE]Test.java:18: 'void' type not allowed here System.out.println(r1.add(r2)); ^ 1 error[/QUOTE] My code is as follows: [CODE] \\ The constructor \\ public class RationalNumber { …

Member Avatar for Amoryethel
0
6K
Member Avatar for laailalalaa

hello, i was wondering whether someone could provide me with a couple of comprehensive links (tutorials) on database design with regards to optimization? what i'm looking for is a thorough example, that would explain each index choice and every other database optimization related aspect (for a beginner to intermediate level). …

Member Avatar for laailalalaa
0
113
Member Avatar for Dionysus

hi I was wondering if anyone knows how to create a dictionary using ANSI C. I really Dont know where to start...any help is appreciated... Thanx in advance

Member Avatar for Adak
0
730
Member Avatar for kookai

hi I need help with this problem. I have tried writting the program, i just can not get it to run properly. Please Write The Fibonacci series 0, 1, 1, 2, 3, 5, 8, 13, 21, ... begins with the terms 0 and 1 and has the property that each …

Member Avatar for Nick Evan
0
2K
Member Avatar for horserider
Member Avatar for horserider
0
179
Member Avatar for opticblaze

Hello, I have an If statement that i want to use to determine whether the variableis a integer or not. The example below does not work but illustrates what i would like to be able to do: [CODE]If($x/4==[COLOR="Red"]interger[/COLOR]) {echo ("this is a integer");} else {echo ("This is not a integer");} …

Member Avatar for opticblaze
0
114
Member Avatar for jijo cleetus

Hi, i need to convert date format 1/16/2010 10:10:2011 AM to [COLOR="Red"]16/1/[/COLOR]2010 10:10:2011 AM after that i need to put values to database too as datetime datatype. error I am getting : "The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. …

Member Avatar for jijo cleetus
0
155
Member Avatar for MrCapuchino

Hello, I'm developing an application where if a user clicks a button a comparisson is performed, if the user was right an image needs to show for 1 second if the user was wrong another image needs to show for one second too. The thing is, I don't know what …

Member Avatar for MrCapuchino
0
690
Member Avatar for zakris

Hello! I am a student and i have this assignment to do! I must create in Java a phone! Not a "working" phone just how it looks (sort of!!) I start it today and i have a few questions! I didnt do anything extraordinary, just create the outside and inside …

Member Avatar for zakris
0
849
Member Avatar for ajst

Hi guys and girls, I've decided to pick up C++ again after not using it for 2 nearly 3 years. I've been programming in java and c# in the mean time so my understanding of programming is very good. I've been trying to make a pack of cards but for …

Member Avatar for ajst
0
361
Member Avatar for Mr.BunyRabit

Hey there, =) My head is almost through with my database im working on. I just need one more thing i Cant seem to do. Now this is my code for connecting to my datagridview [CODE] String connString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Application.StartupPath + "\\Resources\\db1.mdb"; string query = "SELECT * …

Member Avatar for Mr.BunyRabit
0
2K
Member Avatar for computerbear

My XML class is kickin my behind. I have an assignment that is to combine 3 files, books, movies and music into one called products. I have xml and xsd doc for each. I have gone over the book and a fellow students work and the solution files. I cannot …

Member Avatar for iceandrews
0
150
Member Avatar for Jinspire

Hello, everyone! I have a the following regular expression validator: [CODE]<asp:RegularExpressionValidator ID="revTime" runat="server" ControlToValidate="txtTime" ErrorMessage="Time interval must be between 00:00 and 23:59" ValidationExpression="(^0{0,1}\d:[0-5]\d{0,1}$)|(^[0,1]\d:[0-5]\d(0,1)$)|(^2[0-3]:[0-5]\d(0,1)$)" Display="Dynamic" />[/CODE] The validator WORKS. The regular expression works too. Problem is, the message does not display. I've tried the following: * Changing the Display attribute to …

Member Avatar for Jinspire
0
105
Member Avatar for rumahsolusi

can anybody help me to make , for example : i check crawl spider my webpage part one through the check metatag website but the results after checked from webpage part two

Member Avatar for rumahsolusi
0
64
Member Avatar for jeraldmuthu

Hi, I'm new bee to JSP.I'm newly joined in company they want to finish this today please help me. I need to check form field contains existing data(want to check database) are not. if that field contain existing data it wants give alert.., In database i set projectcode as Unique.if …

Member Avatar for masijade
0
192
Member Avatar for ram619

At line 12 compiler gives error....`float*' to `float' for argument `6' to `int fun(int, int, int, int, int, float, float)' could anyone plz tell me, where i m wrong......... Thanks [code=c]#include<stdio.h> #include<conio.h> int fun(int,int,int,int,int,float,float); int main() { int a1,a2,a3,a4,a5; float avg=0.0,sum=0.0; printf("Enter the five values"); scanf("%d %d %d %d %d",&a1,&a2,&a3,&a4,&a5); …

Member Avatar for ram619
0
5K
Member Avatar for jk09

what is meant by infinite time complexity??? i mean, does it imply that the problem cannot be solved by the algorithm as it takes infinite time..??:?:

Member Avatar for Narue
0
76
Member Avatar for wailoon88

[CODE]import net.htmlparser.jericho.*;[/CODE] hi i got this error when using the above library. it says " package net.htmlparser.jericho" does not exist" any help is deeply appreciated ^^ :-/

Member Avatar for wailoon88
0
81
Member Avatar for Ipan88

Hello. I am trying the last few days to make a text editor in Java but as I am new to the language I have some problems that I don't know how to deal with. The first one is that I want to save my text and then open it …

Member Avatar for Ipan88
0
154
Member Avatar for jlivvers

Hi, I have a c# windows form app that hanldes memberships. When the user click "new member" a second form pops up where the user can enter in the new data using the details view. When complete the user saves and closes this second form, returning to the original form …

Member Avatar for jlivvers
0
174
Member Avatar for jijo cleetus

Hi i need to convert date format 16/1/2010 10:10:2011 AM to 1/16/2010 10:10:2011 AM after that i need to put values to database too as datetime datatype.Can you please help. many thanks in advance

Member Avatar for jijo cleetus
0
164
Member Avatar for bbinais

Is it possible to create grid view in php?Or any thing equivalent to that?What i actually want is to query the database(mySQL) and print the result in a table form on the web page. and when i click any column i want to redirect to another page Any help would …

Member Avatar for Shanti C
0
94
Member Avatar for jahanruhi3@gmai

can any one tell me the procedure how to search a file from the database using jsp

Member Avatar for peter_budo
0
177
Member Avatar for almefab

Hi all, i have a variable in a JFRAME that i need to use in a JPANEL. How can i do that. Example: MainProgram that launches Java Application. Window1 that is a JFRAME Window2 that is a JPANEL In Window1 I have a variable declared example int X = 0; …

Member Avatar for almefab
0
990
Member Avatar for masterfact18

[CODE]Form3.Adodc1.RecordSource = "select * from login where username = '" + Text1.Text + "'" Form3.Adodc1.Refresh If Form3.Adodc1.Recordset.EOF = False Then If (Text2.Text = Form3.Adodc1.Recordset.Fields("password")) Then MsgBox "login success" Unload Me Else MsgBox "invalid pasword" Text1.Text = "" Text2.Text = "" Text1.SetFocus Form2.Refresh End If Else MsgBox "invalid username" Text1.Text = …

Member Avatar for peter_budo
0
155
Member Avatar for pucivogel

Hi there,i have to create a program that shows the symbolic derivative of a polynomial function, and my teacher told that it is all about string manipulation,but i cant find find any valid tutorial or something that shows me how to do it.i've checked but what i have found is …

Member Avatar for pucivogel
0
312
Member Avatar for NewOrder

hi, i have a problem with my code. i am trying to shift pictures as the mouse hovers over the link..but nothing happens! [CODE] <div id="FAQ"> <ul> <b> FAQ <li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_14.gif ' ">What does the Bronze membership include?</a> </li> <li><a href="#" onMouseOver="document.dadfadsfasdf.src='Answers_06.gif' ">What does the Silver membership include?</a> </li> …

Member Avatar for NewOrder
0
90
Member Avatar for lisaroy1

What is AJAX?i have heared about it but i dont have any knowledge about it?does it have a good scop?

Member Avatar for Shanti C
0
82
Member Avatar for masterfact18

[code]Form3.Adodc1.RecordSource = "select * from login where username = '" + Text1.Text + "'" Form3.Adodc1.Refresh If Form3.Adodc1.Recordset.EOF = False Then If (Text2.Text = Form3.Adodc1.Recordset.Fields("password")) Then MsgBox "login success" Unload Me Else MsgBox "invalid pasword" Text1.Text = "" Text2.Text = "" Text1.SetFocus Form2.Refresh End If Else MsgBox "invalid username" Text1.Text = …

Member Avatar for abelingaw
0
290
Member Avatar for TIP.Synergy
0
77
Member Avatar for coervivekmca
Member Avatar for AWPROGRAMMER

I want to simulate the enter key when my form opens so that it can continue it processes without the user having to push the enter key or selecting OK with the mouse. I know the question is then why have the form at all. I did not write the …

Member Avatar for AndreRet
0
206
Member Avatar for Xjmaslord4

[CODE]Dim Hours As Integer Dim Minutes As Integer Dim Seconds As Integer Dim Time As Date Private Sub Mydisplay() 'This code is common to all three text boxes so I 'put it in it's own sub. 'Extract the numbers from the text boxes by using 'the Val() statement. Hours = …

Member Avatar for AndreRet
0
180
Member Avatar for Tbusuk

Hi, what is the meaning of the code shown below? <jsp:include page="/exec/employeesList"/> Because usually include is like this include("a.php"), this means the page include the a.php page. But the jsp include is different, it doesn't show any extension like .jsp or .jav or .html. so where does it include? is …

Member Avatar for coervivekmca
0
160
Member Avatar for frank731tr

Hello I'm taking my first C++ class and I have really embarrassing question ( because I'm sure I'm missing something simple but I just can't figure out what): Why won't my output "dead loop" show after the do while loop ends with the user entering enter? [CODE]// This program will …

Member Avatar for frank731tr
0
118
Member Avatar for Annettest

Hello all: I would be very grateful if someone could help me to understand header and definitions files. A colleague told me that definitions should never be included in a header file, but I also read that template and inline functions should be included. Is this true? If so, is …

Member Avatar for thelamb
0
242
Member Avatar for Nandomo

I am writing a program to make pictures into their negative. But I do not know how to open the bitmap file, I don't know if I should open it as a binary, when I try to my security coding kicks in, and when I open as ios::out my security …

Member Avatar for Moschops
0
129
Member Avatar for afylegacy

Good day. I wana know what is the code (VB 2008) to get line that contains selected data that the user want from notepad? example: apple, red, 180 pear, green, 200 melon, yellow, 250 the user will type "apple" in the textbox and the msgbox will tell in which line …

Member Avatar for afylegacy
0
174
Member Avatar for dandixon

Have a table in column a i have a list of part numbers p101, p101, p102, p102, p102, p103, p104 etc part no alternative p101 a178 p101 a196 p101 a192 p102 a135 p103 a165 p103 a145 p104 a179 i need to have it like this but i cant work out …

Member Avatar for debasisdas
0
79
Member Avatar for ypks_destiny

In a html if i press india i should get its states, and if i press australia i should get its states -It should be in drop down list only can some one please help me out

Member Avatar for ypks_destiny
0
2K
Member Avatar for G_Waddell

Hi I had written an in VB.net that took addresses from a database put them into a csv file then took the csv file data and performed a mail merge in Word to allow the user to print them out on to an Avery L7163 label sheet. The app was …

Member Avatar for G_Waddell
0
413
Member Avatar for newbieha

How to modify the hash table implementation to use chaining instead of open addressing? [CODE]class HashTable( object ): """A data structure that contains a collection of values where each value is located by a hashable key. No two values may have the same key, but more than one key may …

Member Avatar for newbieha
0
2K
Member Avatar for nyler01

Please help.. i need a script for this problem. i have 2 different departments, one is accounting and the other is payment. it should be the accounting page will create a transaction and when the transaction has been done, the webpage of the payment department will automatically show that there …

Member Avatar for rje7
0
120
Member Avatar for lisaroy1

I am a HTML and Java Programmer and now i want to learn PHP so can you help me with the Basic Knowledge of PHP,I have heared it is quite siimilar to HTML is it True.So can anyone tell me some good books and site from which i will get …

Member Avatar for Shanti C
0
110

The End.