very easy.
client:
function Delete()
{
var a = confirm("are you sure")
document.getEle mentById("Hidde nFiled".value = a
}
.server
buttonDelete.at rributes.add("o nclick","Delete ()")
Delete(HiddenFi eld.value) // write function Delete(Byval b as Boolean)...
User Profile
Collapse
-
Private Sub ConvertImage(By Val FilePath As String, ByVal Width As Integer, ByVal Heght As Integer)
If Not FilePath = "" Then
Dim ArrFiles() As String = Directory.GetFi les(Server.MapP ath(".") & "\ImageCach e")
For Each f As String In ArrFiles
File.Delete(f)
Next
Dim _stream As System.IO.Strea m = File.Open(FileP ath,...Leave a comment:
-
you should use javascript
var value = document.getEle mentById("TextB ox").value
if(isNaN(value) == true)
{
alert("This is not a number!");
}...Leave a comment:
-
No activity results to display
Show More
Leave a comment: