199,114 Archived Topics
Remove Filter ![]() | |
Hi, how can i get password length on form in jquery? I get the password with this: var sifra=$("#input:password").val(); but when I want to check if password is entered and length is more than 6 characters, it doesn't work: [CODE] if(! sifra){ $("#sifra_p").show(); $("#sifra_p").html("Niste unijeli šifru!"); greska=1; } else{ if(sifra.length … | |
Hi! The following program gives the integer value of char string as output.Suppose if we give "1998",it will give integer 1998.In [CODE]i=i<<3+i<<1+(*string-'0')[/CODE]I understood that it will multiply i by 10,but in *string-'0' I don't know what is going there..?.Here what refers string is it index in 1998 or whole 1998. … | |
Hi, I have written a code which when I debug gives the following error: Windows has triggered a breakpoint in Test_1.exe. This may be due to a corruption of the heap, which indicates a bug in Test_1.exe or any of the DLLs it has loaded. This may also be due … | |
I am using Visual Studio 2010 C++ and its giving me an error "bad allocation" if I increase the array size t0 40 000 by 35 000, I am new to C++ not sure what to do. [CODE]// SWTest.cpp : Defines the entry point for the console application. // #include … | |
Hi all, I need a big help..I was struggling about 3 /more days with this code..It is not giving me the result I want.It is not that difficult thing.What I want is to display the values in database(name,description,image) according to the id selected. And then it can be edited if … | |
How do I create an Instant Messenger Program using Java? I want to create an Instant Messenger Program using Java, and I dont have a clue where to start, so if someone can please help me, that would be great. Thank You, Andrew Davis | |
Hi all, I'm developing a library. I would like that this library could make differents callbacks to the user part. Untill now, I had the simplest way to do it, I had stored a pointer to the user class and I was making calls when something happened, but with this … | |
Hi friends i download one blogger template from this link [CODE]http://simplexdesign.blogspot.com/2010/07/simplex-celebrity-my-premium-template.html[/CODE] . This template is named by simplex celebrity template . . This is my site link [CODE]www.kollycinema.in[/CODE] . . I changed all the things in side , top and bottom . i dont know how to bring the things … | |
Hi all, I am in need of some XML assistance, the tasks are pretty simple i just don't have the time to complete them. I am looking for someone with a good knowledge of XML to produce 3 tasks for me and i will pay well via paypal. Thanks, | |
I am absolutely newbie to Ajax and I need to have this fixed by tomorrow as I have a project to complete so anyone who could help me, I would be really greatful! This is what I have cooked up so far index.php [code=php]<html> <body> <script language="javascript" type="text/javascript"> <!-- //Browser … | |
Can anyone explain why this would fail: [code] assert(cap >= 0); [/code] But this passes? [code] if(cap < 0) { exit(-1); } [/code] That is, the assert is triggered, but if I replace it with conditional, the exit() function is never called. Thoughts? Thanks, David | |
i am create one application. i am delete one pin number(that status change to 'D'). After i am return back to main frame the deleted pin number is also displayed. once i am quit my application and start then the deleted pin number is not displayed. but i want do … | |
[code=text]Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the … | |
hi all, i am planning to keep live support for my website for that i had some code..it works fine but the problem is the chat is not confidential.. means if i am admin and if some one is chatting with me and if another person clicks on live help … | |
Hello I am totaly new in field with microcontroller programming using c. can anyone help me out by suggesting good tutorial? | |
Hi, A site I'm developing loads new pages via AJAX, to allow people to share the links we use a hashtag to track the URL E.G. User is on example.com/page1.html User clicks on link to example.com/page2.html page2.html is loaded dynamically and the URL is set to example.com/page1.html#!/page2.html That all works … | |
hello guys, i am very new here. [CODE]public class quiz{ public static void main (String args[]){ for (byte i = 1; i <= 5; i++){ for (byte j = 1; j <= i; j++){ System.out.println(i); } System.out.println(); } } }[/CODE] I can't simply explain that code. and it gives me … | |
Hello Everybody, I am working on Parsing right now, So can anybody please through some light pertaining to what XMl Parsing is basically being done and I would appreciate it greatly if somebody who knows it can give me any example for the same. Thanks in Advance, john | |
Hi all..i need some help please..i'm doing a validation using a validation expression..this is use to make a user just input the digit in 5 digit.. i'm using this now but not function [CODE]<tr> <td class="style1">Zip Code </td> <td>:</td> <td> <asp:TextBox ID="txtCmpZip" runat="server" BorderStyle="Groove" MaxLength="5"></asp:TextBox><asp:RequiredFieldValidator ID="CmpZip" runat="server" ErrorMessage="*" ControlToValidate="txtCmpZip"></asp:RequiredFieldValidator> <asp:RegularExpressionValidator … | |
so i stumbled upon a few 'challenge questions' and decided to have a go. it should be my level. so anyways the question asked me to produce a code that makes me- input 2 numbers. the numbers get added ASWELL as the un numbers inbetween BUT excluding the numbers u … | |
im writing a Coin program that tells the user to input a integer between 1 and 99..and reads back how many quarters, dimes, nickels, and pennies back. this is what i have. import java.util.Scanner; public class Main { public static void main( String[] args ) { Scanner input = new … | |
Hi all i seem to be having an issue with LINQ, i am currently maintaining an in house Intranet application at work,When Saving logs it seems to slow down now,upon debugging i have came to realise that everytime it saves a log the application pauses at these two section lines … | |
When realising the following operation: [CODE]do = 1.0 - 2.718281828**(-(23**2)/730) print do[/CODE] Python returns 0.632120558766 When you do it on the calculator or when google it, it returns 0.515509538 :-O | |
how to retrive username and other information after succefully login using loginid and passs like in login screen (user will use his/her) Userid:xyz Password:xxx in home page i want to dispaly his/her name !!!! urgent help!!!!!!!!!!!! | |
Hi Here i have found macro code to extract URL from hyperlink(anchor tag) in MS Excel. This code is very useful to fetch the particular URL from the hyperlink by single click. No need to view the website to view and copy the URL. First in MS Excel go to … | |
Hello, I just starting with C and I am having a problem that I can´t understand. Here is the code: #include <stdio.h> #include <string.h> #include <stdlib.h> FILE *M; M=fopen( "m", "r"); char line [ 540 ]; long int i=0; struct estr_reg { char *molid; char *molc; }; struct estr_reg reg[6]; … | |
Hi all.. I'm trying to do a pagination using simple php script... I set the maximum post to be displayed to be 5.. but my problem is, each post that being displayed,has skipped 1 post before it.. For example,let say that i got 5 post in total,instead of displaying post … | |
Can anybody suggest me what is wrong in this code. I am trying to populate data from table to list field. Its showing error "Parse error: parse error in C:\wamp\www\matr\index.php " [CODE] </div><div style="padding: 3px 0px;"> <select name="countryofresidence" style="width: 140px;"><option value="">Doesn't Matter</option> <?PHP $sqlCountry = "SELECT * FROM countries order … | |
This will count number of page views in a session. Simple, to add on the page just add the code on the top of the page and make sure it is before any html. | |
Hi ... I'm trying to make a drop down list box populated from a mysql table. It all looks OK on the screen, but there is an error that I cant seem to fix. The error is: Notice: Undefined index: xxx in C:\Documents and Settings\GSW\My Documents\xxx\test.php on line 29 and … | |
Hello, please try to help the fresher i was a beginner in perl .but gave me critical work. my task looks simple!But not.i was trying for 4days. i have two text files each contain code in modules. my task i have to take module name from the user and search … | |
Hi, I have a java program with quite a lot of classes. I'm facing a problem with accessing some variables from another class. May I know how to I access it? Is it possible? | |
The basic difference would be interface cannot have any method definition or variables declared while an abstract method can have them. Now what is the difference between an abstract class and an interface when they contain only the method signatures in them. In what situations will you use either of … | |
hi guys, using a for loop i want to be able to pause it, display string in text box for 60 seconds then move to the next loop,change content of the string and display it again for 60 seconds.this should go on till end of count.i am currently using a … | |
hi everyone!!! ive just got an assignment from my teacher to make some graphics in C and i know nothing about it,can someone plzzzz help???? reply as soon as possible...plzzz | |
I unable to find java softwares in net can you tell me sites downloading softwares like flash slide show maker, video editor, video converter for java in linux. | |
[CODE]import java.io.*; public class Test { public static void main(String[] arg){ Console console=System.console(); String chessPiece=""; int rowEnd=0; char columnEnd = ' '; System.out.println("what piece do you want to move?"); chessPiece=console.readLine(); System.out.println("where do you want to move it to?(type column letter)"); String input=console.readLine(); columnEnd=input.charAt(0); System.out.println("where do you want to move it … | |
Hey guys, can anyone point out where I'm going wrong with this? It counts the sessions fine, but the IF statement doesn't seem to be working as it should. [CODE] <?php session_start(); ($_SESSION['count']) ? $_SESSION['count']++ : $_SESSION['count'] = 1; if (!(count) % 5) { echo "test"; } ?> <!DOCTYPE HTML … | |
Hi, I have a PHP script that generates an image based on a font and text string to display custom fonts on my site. Overall the code works fine but there are a few little bugs; The image is clearly not high enough to display the full font correctly, part … | |
![]() | Hi all, I'm trying to create a method in [B]managed c++[/B] which will convert an int to a string representation of binary. I have done this in C# before, but I can't work out how to do it in Managed C++ Below is the code from my C# effort that … |
Does anyone know how one would be able to replicate photoshop's resolution option? I normally do not mess around with resolution.. but recently.. I changed the resolution value accidentally and had some pretty astounding results. For those of you who have never used photoshop before.. the resolution option simply increases … | |
hi how are u am new in programing at all :confused: i have a code for a program that communecate with a DDe server this code need some modefication to complete it(need to include the System.IO namespace to use a StreamWriter and Add a using System.IO; statement to the other … | |
Hi everyone, please help me out on this if you can. I have a site where a user can select multiple checkbox values, banana, apple, orange, strawberry and raspberry. I would like the name of the Juice to be displayed if the fruit is contained in it. For example..if strawberry … | |
I can do the pattern totally for * or number only but how to use both together for pattern? Here is the pattern i want to do. 0 * * 0 1 2 * * * * 0 1 2 3 4 * * * * * * * * … | |
Hello everyone, i'm porting an application from C# to C++, and i find the syntax and all that of C++ rather cumbersome (though C/C++ was my first language). I have a very specific question, and another few more-or-less general ones. The specific question: In C#: [CODE] Bitmap image; BitmapData ImageData; … | |
Pls help me to convert a notepad to excel and then to access in vb6. | |
I'm new to Classes. For a project to improve my skills I'm stuck. This project is a registration in which: [LIST=1] [*]form data is validated [*]some variable from the form are encrypted [*]some variables from the form are hashed [/LIST] It is getting the Class for hashing to load and … | |
Starting a new video game idea almost done with the designs of the characters and just starting the story board. I need video game developers, animators etc. And of course at the end I need voice actors. Does anybody know where to find: Video game publisher Video game developer 3D … | |
Hi dears. I want make relation with gsm modem. my first goal and main one is sending and receiving sms. _then I want go front.for example for mms sending and ..._ I want to do it on a linux server. please introduce me a suitable modula with it's tutorial or … | |
What is the advantages of using assembly language with C++? |
The End.