Click here to Skip to main content
15,879,613 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: How To Create a HTML Download Link Pin
msn9219-Aug-09 8:10
msn9219-Aug-09 8:10 
GeneralRe: How To Create a HTML Download Link Pin
Prasadsm19-Aug-09 19:14
Prasadsm19-Aug-09 19:14 
GeneralRe: How To Create a HTML Download Link Pin
msn9221-Aug-09 8:13
msn9221-Aug-09 8:13 
Questionasp/html Pin
rajiv_kadam18-Aug-09 21:56
rajiv_kadam18-Aug-09 21:56 
AnswerRe: asp/html Pin
Marc Firth18-Aug-09 22:07
Marc Firth18-Aug-09 22:07 
QuestionHow to parsing text file in Javascript? Pin
see_sharper31318-Aug-09 21:37
see_sharper31318-Aug-09 21:37 
AnswerRe: How to parsing text file in Javascript? Pin
Marc Firth18-Aug-09 22:05
Marc Firth18-Aug-09 22:05 
AnswerRe: How to parsing text file in Javascript? Pin
msn9219-Aug-09 8:02
msn9219-Aug-09 8:02 
You can use Regular Expressions.

Example:
<script type="text/javascript">
var source; //Assign Your Text File's content
var re=new RegExp(/File([^\^]*?)EndFile/g); //Pattern to match
var matches=source.match(re); //Search for matches and assign them to 'matches'
if (matches!=null)//if any match found
{
  for (i=0;i<matches.length;i++){
    //'matches' is the array that contains all the matches found
    //you can do whatever you want with them, in this case we'll just
    //display messageboxes containing the match.
    alert("Match #"+i+" is "+matches[i]);
  }
}
</script> 


Hope that helps.
QuestionASP Pin
rajiv_kadam18-Aug-09 21:03
rajiv_kadam18-Aug-09 21:03 
AnswerRe: ASP Pin
Ashfield18-Aug-09 21:16
Ashfield18-Aug-09 21:16 
QuestionJavascript: url in html Pin
msn9218-Aug-09 20:35
msn9218-Aug-09 20:35 
AnswerRe: Javascript: url in html Pin
Marc Firth18-Aug-09 22:02
Marc Firth18-Aug-09 22:02 
GeneralRe: Javascript: url in html Pin
msn9219-Aug-09 7:23
msn9219-Aug-09 7:23 
GeneralRe: Javascript: url in html Pin
Marc Firth19-Aug-09 21:57
Marc Firth19-Aug-09 21:57 
Questionhow to get object iframe with asp Pin
ranuth18-Aug-09 17:52
ranuth18-Aug-09 17:52 
AnswerRe: how to get object iframe with asp Pin
Marc Firth18-Aug-09 22:00
Marc Firth18-Aug-09 22:00 
QuestionTransfer JavaScript Array between pages Pin
Joshua Henderson18-Aug-09 17:16
Joshua Henderson18-Aug-09 17:16 
AnswerRe: Transfer JavaScript Array between pages Pin
Marc Firth18-Aug-09 21:52
Marc Firth18-Aug-09 21:52 
GeneralRe: Transfer JavaScript Array between pages Pin
Joshua Henderson20-Aug-09 2:23
Joshua Henderson20-Aug-09 2:23 
GeneralRe: Transfer JavaScript Array between pages Pin
Marc Firth20-Aug-09 2:47
Marc Firth20-Aug-09 2:47 
Questionhow to show an Alarm ? Pin
Lagziyan18-Aug-09 3:23
Lagziyan18-Aug-09 3:23 
QuestionClosing page in Java Script Pin
Hakmeh Mohannad17-Aug-09 20:53
Hakmeh Mohannad17-Aug-09 20:53 
AnswerRe: Closing page in Java Script Pin
Marc Firth17-Aug-09 23:48
Marc Firth17-Aug-09 23:48 
GeneralRe: Closing page in Java Script Pin
Hakmeh Mohannad18-Aug-09 0:11
Hakmeh Mohannad18-Aug-09 0:11 
GeneralRe: Closing page in Java Script Pin
Marc Firth18-Aug-09 0:13
Marc Firth18-Aug-09 0:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.