And this is the iframe
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Publish Fixtures | NIFootball</title>
<style type="text/css">
table, tr, td{
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
border-collapse: collapse;
border-spacing: 0;
}
td{
padding: 5px 0;
}
fieldset{
background-color: #f7f7f7;
border: 1px solid #ccc;
margin: 0;
padding: 5px 10px;
}
</style>
[removed]
$(document).ready(function(){
$('#publishForm').submit(function(){
$('input[name=title]').val( $('select[name=fixture_home_team] option:selected').text() + ' ' + $('select[name=fixture_away_team] option:selected').text() );
});
});
[removed]
</head>
<body>
<form id="publishForm" method="post" action="http://localhost/www.nifootball.co.uk/index.php/fixtures/publish_row_league" enctype="multipart/form-data" >
<div class='hiddenFields'>
<input type="hidden" name="ACT" value="34" />
<input type="hidden" name="RET" value="http://localhost/www.nifootball.co.uk/index.php/fixtures/publish_row_league" />
<input type="hidden" name="URI" value="fixtures/publish_row_league" />
<input type="hidden" name="XID" value="218313a7b59d754c4d165c1536dcfe43c4a91741" />
<input type="hidden" name="return_url" value="fixtures/thanks_row" />
<input type="hidden" name="author_id" value="1" />
<input type="hidden" name="channel_id" value="13" />
<input type="hidden" name="site_id" value="1" />
<input type="hidden" name="return" value="fixtures/thanks_row" />
</div>
<fieldset>
<input type="hidden" name="allow_comments" value="n" />
<input type="hidden" name="status" value="Pending" />
<table cellspacing="0">
<tr>
<td>
<input type="text" name="entry_date" id="entry_date" value="2010-11-09 23:15" maxlength="23" size="16" />
<input type="hidden" name="title" id="title" value="e.g. Abbey Villa v Malachians" />
<select name="category[]">
<option value="" selected="selected">--</option>
<optgroup label="Northern Amateur Football League">
</optgroup>
<option value="13">Premier Division
</option>
<option value="14">Division 1A
</option>
<option value="17">Division 1B
</option>
<option value="18">Division 1C
</option>
<option value="19">Division 2A
</option>
</select>
</td>
</tr>
<tr>
<td>
<select name="fixture_home_team">
<option value="" selected="selected">--</option>
<option value="952">100th OB</option>
<option value="2658">10th OB</option>
</select> @ <select name="fixture_away_team">
<option value="" selected="selected">--</option>
<option value="952">100th OB</option>
<option value="2658">10th OB</option>
<option value="1420">112th OB</option>
<option value="1421">112th Scouts OB</option>
<option value="953">118th OB</option>
<option value="776">14th Newtownabbey OB</option>
</select>
<button type="submit" name="submit">Submit</button>
</td>
</tr>
</table>
</fieldset>
</form>[removed]// <![CDATA[
if (typeof EE == "undefined" || ! EE) {
var EE = {"BASE":"http://localhost/www.nifootball.co.uk/index.php?","THEME_URL":"http://www.nifootball.co.uk/themes/cp_themes/default/","PATH_CP_GBL_IMG":"http://www.nifootball.co.uk/themes/cp_global_images/","filebrowser":{"endpoint_url":"ACT=6","window_title":"File Manager","theme_url":"http://www.nifootball.co.uk/themes/cp_themes/default/"},"lang":{"or":"or","resize_image":"Resize Image","return_to_publish":"Return to Publish","confirm_exit":"When you leave, any data entered will be lost. Are you sure you want to leave?","add_new_html_button":"Add New HTML button"},"publish":{"show_write_mode":true,"title_focus":true,"smileys":true},"user_id":"1"};}
mySettings = {"nameSpace":"html","onShiftEnter":{"keepDefault":false,"replaceWith":"<br />\n"},"onCtrlEnter":{"keepDefault":false,"openWith":"\n<p>","closeWith":"</p>\n"},"markupSet":[{"name":"b","key":"B","openWith":"<strong>","closeWith":"</strong>","className":"btn_b"},{"name":"i","key":"I","openWith":"<em>","closeWith":"</em>","className":"btn_i"},{"name":"blockquote","key":"Q","openWith":"<blockquote>","closeWith":"</blockquote>","className":"btn_blockquote"},{"name":"a","key":"A","openWith":"<a >","closeWith":"</a>","className":"btn_a"},{"name":"img","key":"","replaceWith":"","className":"btn_img"}]};
myWritemodeSettings = {"nameSpace":"html","onShiftEnter":{"keepDefault":false,"replaceWith":"<br />\n"},"onCtrlEnter":{"keepDefault":false,"openWith":"\n<p>","closeWith":"</p>\n"},"markupSet":[{"name":"b","key":"B","openWith":"<strong>","closeWith":"</strong>","className":"btn_b"},{"name":"i","key":"I","openWith":"<em>","closeWith":"</em>","className":"btn_i"},{"name":"blockquote","key":"Q","openWith":"<blockquote>","closeWith":"</blockquote>","className":"btn_blockquote"},{"name":"a","key":"A","openWith":"<a >","closeWith":"</a>","className":"btn_a"},{"name":"img","key":"","replaceWith":"","className":"btn_img"}],"onTab":{"keepDefault":false,"replaceWith":"\t"}};
// ]]>
[removed][removed][removed][removed]
// <![CDATA[
$(document).ready(function() {
if (typeof SafeCracker == "undefined" || ! SafeCracker) {
var SafeCracker = {markItUpFields:{}};
}
$.each(SafeCracker.markItUpFields,function(a){$("#"+a).markItUp(mySettings);});});
// ]]>
[removed]
</body>
</html>