
Search In
Hello Reader's! if you want to make the Date time format validation in your form then you can use Javascript to validate.
Let's see the example below:-
your html will be go like this:-
<form method="POST" action="/javascript/validate-date/" ons
Here you will learn about HTML Helpers. HTML helper is just a method which generates elements. This element represents the content which we want to add in HTML.
Below is the format of using HTML helpers in ASP.NET MVC framework:-
&nbs
I am trying to list photo albums where each album contains individual photos. This is similar to categories where each category cotains posts.
I have two database tables, namely "albums" and "photos".
The albums table has co
Write python code(2.7 version) for the following and also explain the logic because i am not understanding please explain.
Eight houses ,represented as cells , are arranged in a straight line.Each day every cell competes with its adjacent ce
As a tester you need to understand what the different challenges in testing stream as you will need to overcome the same
STLC process related challenges :
1.1 Limited time available for testing, Late engagement of testing team
1.2 Test enviro
The difference between ‘While’ and ‘Do While’is :
‘While’loop checks the condition given with it first and if the condition is true then it enters inside the loop . That means the statements inside the loop is executed only if the condition is true
Hello reader! If you have a to check the url is correct or not (not giving the status 404), Then you can get all the details of any url by using 'get_headers' in print_r.
Let's see the example below:-0
<?php
stream_context_set_default(
arra
Here I am getting image path from Native data
Here IMAGEPATH is the path of image from Camera.
ByteArrayOutputStream stream1 = new ByteArrayOutputStream();
// Compress image to lower quality scale 1 - 100
bitmap1.compress(
Hello Reader's If you are genrating the time in Unix time stamp and want to show it like 5 min ago or 3 hours ago then you can use the code below:-
Here we are using NOW of the unix timestamp
function timeSince(ts){
now = new Date();
ts = n
toString() method is very useful and frequently used by java developer. What is toString()
?
As per java doc: 'toString() method returns the string representation of the object.'
toString() method belongs to Object class, So each and every object in
