Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~3K People Reached
Interests
Programming, Web Development
Favorite Tags
Member Avatar for Master Mascus

Hello guys, I am having a problem with a regular expression in my jquery validation. Can someone help me please. The method : $.validator.addMethod( function (value, element) { /^[A-Z]{1}\d{12}[A-Z0-9]{1}$/.test( value ); }, "Invalid NIC." ); An example of the NIC field : L261089652789A or L2610896527897

Member Avatar for pritaeas
0
255
Member Avatar for Master Mascus

I have an xml file that i am extracing data from and displaying them in the logcat window. Now i need to display them in a textview anyone can help ? package com.example.news_services_week1; import java.io.IOException; import java.net.URL; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParserFactory; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import …

Member Avatar for mustafaneguib
0
262
Member Avatar for Master Mascus
Member Avatar for Master Mascus

I need jquery code for DOB range validation(age should be at least 15) using the .validate() jquery function. I am not able to create the function in the rule, help anyone ?

Member Avatar for stbuchok
0
184
Member Avatar for Master Mascus

I would like to know if its possible to extract data from a database and then displayed the data in a pdf file ?

Member Avatar for Atli
0
308
Member Avatar for Master Mascus

can anyone tel me why the dropdownlist does not execute on textchanged ? <%@ Page Language="VB" AutoEventWireup="true" CodeFile="index.aspx.vb" Inherits="Index" %> <%@ Register TagPrefix="Ridwan" TagName="TabControl" Src="~/Assignment/Controls/TabControl.ascx" %> <!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 runat="server"> <title>JJ Shop | Home</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link href="style.css" rel="stylesheet" …

Member Avatar for LastMitch
0
196
Member Avatar for Master Mascus

Hey guys i have been assigned a work of designing a online shoe shop. I am stuck on the part of saving the chosen products on a session vaiable (rather an array) can anyone help me out to give me an idea how to proceed.

Member Avatar for JorgeM
0
230
Member Avatar for Master Mascus

Hey guys avtually i have a registration form ( a table of 3 columns, the name, textbox and the validations ). Everthing is working fine but i would like to do something which i am unable to do.. Actually in one row there is 2 validations (RequiredFieldVal and CompareVal), the …

Member Avatar for Master Mascus
0
218
Member Avatar for Master Mascus

I am having a problem with my USB, actually its a 8GB Kingston pen drive. I got some files (for around 1gb) but when i open these files, they are either unreadable (word docs) or the software (like adobe reader) said unsupported format.. Anyone can help ?

Member Avatar for Rik_
0
150
Member Avatar for Master Mascus

anyone can tell me what this line does? [CODE]return ('A' + c1 - 'a'); [/CODE] its in this function.. [CODE]char LToU(char c1) { if ((c1 >= 'a') && (c1 <= 'z')) return ('A' + c1 - 'a'); return(c1); } [/CODE]

Member Avatar for D33wakar
0
116
Member Avatar for Master Mascus

[CODE]#include <stdio.h> #include <stdlib.h> int twento(void); int main(int argc, char *argv[]) { int number1,number2,sum1=0,sum2=0; do{ printf("Player 1 you start to play:\n"); number1=twento(); sum1 = number1 + sum1; printf("Player1 Your sum is %d\n",sum1); printf("Player2 Your turn to play:\n"); number2=twento(); sum2=number2+sum2; printf("Player2 Your sum is: %d\n",sum2); if (sum1==21)printf("\nPlayer1 You win"); else if(sum2==21)printf("Player2 …

Member Avatar for foreshadowed
0
102
Member Avatar for Master Mascus

[CODE]printf("\n How much you tickets you want to bet(Rs20 per ticket): "); scanf("%i",&bet); int x=0; for (x=0;x<bet;x++) { printf("\n Enter the 6 numbers ( 1 - 40): "); // int num/*concatenate x */[100] for( i=0;i<6;i++) scanf("%d",&num/*concatenate x */[i]); // Storing the values inserted into array num }[/CODE] Suppose i got …

Member Avatar for Master Mascus
0
137
Member Avatar for Master Mascus

[CODE]// Including the libraries to be used #include <stdio.h> #include <stdlib.h> #include <string.h> // Defining the End of line #define EOL '\n' //Declaring Global variables (for the sentence and the output sentence- final) char sentence[100]; char final[100]; int i,j,ans; int start() // Defining the start function { printf ("\n"); printf …

Member Avatar for Narue
0
123
Member Avatar for Master Mascus

The random function, generates the same values each the time program is run.. Any other function to output random numbers, each time the program is run ??

Member Avatar for Narue
0
154
Member Avatar for Master Mascus

Hey guys i got a question to solve, can anyone help me out.. Write a C interactive program that will encode a word or sentence entered by a user. The encryption will be done as follows: For any word or sentence (note: blank spaces, special characters are ignored here, i.e …

Member Avatar for Master Mascus
0
165