moin moin, und zwar habe ich ein Ajax Domaincheck Script gefunden, nur irgendwie kann ich das auf meine WordPress Webseite nicht einfügen. Kann mir da jemand helfen ?
Bei mir kommt dann immer eine Fehlermeldung:
Fatal error: Call to undefined function get_header() in S:\xampplite\htdocs\WordPress\spasselite\wp-content\themes\spasselite2012\index.php on line 1
Im JavaScript ist auch ein befehl, nur ich hab 0 Ahnung von Javascript, könnte es daran liegen?
$.post('process.php?domain=' + escape($('#Search').val()),{
ZitatAlles anzeigen$(document).ready(function() {
$('#Submit').click( function() {if($('#Search').val() == "")
{alert('please enter your domain');return false;}results.style.display = 'none';
$('#results').html('');
loading.style.display = 'inline';$.post('process.php?domain=' + escape($('#Search').val()),{
}, function(response){results.style.display = 'block';
$('#results').html(unescape(response));
loading.style.display = 'none';
});return false;
});
});
Ajax Domaincheck:
http://www.99points.info/2010/10/ajax-d…h-ajax-and-php/
Würde mich sehr freuen....