iara am dat de o problema de trimitere date prin javascript...
cu acest cod afisez anumite date de la pagina 'uploader/index.php'
vreau sa trimit adresa url a paginii apoi sa o preiau in 'uploader/index.php'
<script>
/*global $*/
$('#filepicker').filePicker({
url: 'uploader/index.php',
ui: {
autoUpload: false
},
plugins: ['ui', 'drop', 'camera', 'crop']
});
// Replace timeago strings.
if ($.fn.timeago) {
$.timeago.settings.strings = $.extend({}, $.timeago.settings.strings , {
seconds: 'few seconds', minute: 'a minute',
hour: 'an hour', hours: '%d hours', day: 'a day',
days: '%d days', month: 'a month', year: 'a year'
});
}
</script>
/*global $*/
$('#filepicker').filePicker({
url: 'uploader/index.php',
ui: {
autoUpload: false
},
plugins: ['ui', 'drop', 'camera', 'crop']
});
// Replace timeago strings.
if ($.fn.timeago) {
$.timeago.settings.strings = $.extend({}, $.timeago.settings.strings , {
seconds: 'few seconds', minute: 'a minute',
hour: 'an hour', hours: '%d hours', day: 'a day',
days: '%d days', month: 'a month', year: 'a year'
});
}
</script>