It looks like you're new here. If you want to get involved, click one of these buttons!
<script language=\"JavaScript\">
alert($('#uploadFile').val());
$(document).ready(function()
{
$('#uploadFile').fileUpload(
{
uploader:'/sharedImages/flash/uploader.swf',
script:'/index.cfm/fileManagement/ehAttachmentAdmin/upload',
//buttonImg:'/_images/browse-files.png',
cancelImg:'/sharedImages/buttons/cancel.gif',
//auto:true,
folder:'/temp',
onError: function (a, b, c, d) {
if (d.status == 404)
alert('Could not find upload script. Use a path relative to: '+'<?= getcwd() ?>');
else if (d.type === \"HTTP\")
alert('error '+d.type+\": \"+d.status);
else if (d.type ===\"File Size\")
alert(c.name+' '+d.type+' Limit: '+Math.round(d.sizeLimit/1024)+'KB');
else
alert('error '+d.type+\": \"+d.text);
},
});
});
</script>
<script language=\"JavaScript\">
var $j = jQuery.noConflict();
alert($j('#uploadFile').val());
$j(document).ready(function()
{
$j('#uploadFile').fileUpload(
{
uploader:'/sharedImages/flash/uploader.swf',
script:'/index.cfm/fileManagement/ehAttachmentAdmin/upload',
//buttonImg:'/_images/browse-files.png',
cancelImg:'/sharedImages/buttons/cancel.gif',
//auto:true,
folder:'/temp',
onError: function (a, b, c, d) {
if (d.status == 404)
alert('Could not find upload script. Use a path relative to: '+'<?= getcwd() ?>');
else if (d.type === \"HTTP\")
alert('error '+d.type+\": \"+d.status);
else if (d.type ===\"File Size\")
alert(c.name+' '+d.type+' Limit: '+Math.round(d.sizeLimit/1024)+'KB');
else
alert('error '+d.type+\": \"+d.text);
},
});
});
</script>
<script type=\"text/javascript\">
jQuery(\"#fileUpload\").fileUpload({
'uploader': '/uploadify/uploader.swf',
'cancelImg': '/images/cancel.png',
'script': '<%= user_trip_trip_segment_el_photos_path %>',
'scriptData': {current_user_id: '<%= @current_user.id %>', current_trip_segment_id: '<%= @trip_segment.id %>'},
'folder': '/uploads',
'fileDesc': 'Image Files',
'fileExt': '*.jpg;*.jpeg;*.gif;*.png',
'multi': true,
'auto': true,
'simUploadLimit': 20,
'buttonText': 'Choose Photo(s)'
});
</script>
<fieldset style=\"border: 1px solid #CDCDCD; padding: 8px; padding-bottom:0px; margin: 8px 0\">
<legend><strong>Upload your photo(s) directly to Everlater</strong></legend>
<div id=\"fileUpload\">You have a problem with your javascript</div>
<p></p>
</fieldset>
<%= javascript_include_tag \"jquery-1.3.2.min\" %>
<%= javascript_include_tag \"jquery.uploadify\" %>
<%= javascript_include_tag \"jquery.uploadify (Source)\" %>
<%= javascript_include_tag \"jquery-1.3.2.min\" %>
<%= javascript_include_tag \"jquery.uploadify\" %>