HighTechTalks DotNet Forums  

javascript help

Dotnet VJSharp microsoft.public.dotnet.vjsharp


Discuss javascript help in the Dotnet VJSharp forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
LU
 
Posts: n/a

Default javascript help - 05-24-2005 , 09:33 PM






I have the algorithm but I need help with javascript syntax.
I'm trying to find if I have 1 'number#' or 2 'numbers##', then I need to
grab this number.

checkboxname = pfmABCD#:0
or
checkboxname = pfmABCD##:0

var1 = checkbox.name
for i=1 to var.length
var2 = mid(var1, i, 1)
If var2 = ":" then
If i = 9 then
var3 = mid(var1, 7, 1)
elseif i =10 then
var3 = mid(var1, 7, 2)
end if
end if
next

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.