I have an input field and I want that variable to be passed as part of the url paramter in a load request. So for example what I am trying is
var inputField= $j('#inputText').val();
$j(document).ready(function() {
$j(".button").click(function (){
$j('#result').load('http://site.com?parameter='+inputField'.aClass')
});
});
If I were trying to do this without the variable like
$j('#result').load('http://site.com?parameter=stuff .aClass')
it works fine
Can someone please show me the correct syntax to make this work?