Coding as below havinf error, help me please;
echo"<input type='submit' name='submit' value='DELETE' "onclick="return confirm('Are you sure you want to delete?')">;
function delete()
{
if (confirm('Are you sure you want to delete?'))
location.href = "http://www.yoururl.com";
}
aI("text=Delete;url=javascript:delete();");
function delete()
{
if (confirm('Are you sure you want to delete?'))
location.href = "http://www.yoururl.com";
}
aI("text=Delete;url=javascript:delete();");
thanks!
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.