Hello,
I was just wondering, is it somehow possible to track a form submission button click within an iframe?
For example:
[B]index.php
[code=php]<html>
<head>
<title>Test</title>
<script>
function callBackFunction()
{
// call this function if user clicks the submit button within iframe
}
</script
</head>
<body>
<iframe src=”form.php”></iframe>
<!– JavaScript here to track button click within iframe –>
</body>
</html>
[B]form.php
[code=php]<html>
<head>
<title>Form</title>
</head>
<body>
<form action=”formProcess.php” method=”post”>
<input type=”text” name=”nick” id=”nick” />
<input type=”submit” value=”Login” name=”cmd” id=”cmd” />
</form>
</body>
</html>
Any ideas anyone?