R
robertbaer
I have tried many variations of this and all are nogo (no jump).
It would seem that (somehow) i need to force the browser to
scan/pre-scan the full markup before execution.
** sample: how can i make it work?
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
<!-- sample Does NOT go to "skipp" -->
<div class="grid_13 padtop">
<h3>"Get in Touch"..</h3>
<script>
window.location.replace('s.html#skipp');
</script>
<form id="contact-form">
<div class="success"> Contact form submitted!<br> <strong>We will
be in touch soon.</strong></div>
<fieldset>
<label class="name">
<input type="text" value="Name:">
<span class="error">*This is not a valid name.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<label class="email">
<input type="text" value="E-mail:">
<span class="error">*This is not a valid email address.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<label class="phone">
<input type="text" value="Phone:">
<span class="error">*This is not a valid phone number.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<label class="message">
<textarea>Message:</textarea>
<span class="error">*The message is too short.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<div class="buttons"><span><a class="button"
data-type="reset">Clear</a></span>
<span><a class="button"
data-type="submit">Submit</a></span></div>
</fieldset>
</form>
<br>
<a name="skipp">This is after form.<br> </a>
</div>
</body>
</html>
It would seem that (somehow) i need to force the browser to
scan/pre-scan the full markup before execution.
** sample: how can i make it work?
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
<!-- sample Does NOT go to "skipp" -->
<div class="grid_13 padtop">
<h3>"Get in Touch"..</h3>
<script>
window.location.replace('s.html#skipp');
</script>
<form id="contact-form">
<div class="success"> Contact form submitted!<br> <strong>We will
be in touch soon.</strong></div>
<fieldset>
<label class="name">
<input type="text" value="Name:">
<span class="error">*This is not a valid name.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<label class="email">
<input type="text" value="E-mail:">
<span class="error">*This is not a valid email address.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<label class="phone">
<input type="text" value="Phone:">
<span class="error">*This is not a valid phone number.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<label class="message">
<textarea>Message:</textarea>
<span class="error">*The message is too short.</span>
<span class="empty">*This field is required.</span>
<span class="clear"></span>
</label>
<div class="buttons"><span><a class="button"
data-type="reset">Clear</a></span>
<span><a class="button"
data-type="submit">Submit</a></span></div>
</fieldset>
</form>
<br>
<a name="skipp">This is after form.<br> </a>
</div>
</body>
</html>