would be possible to pass javascript variable to php and execute function on it and convert it back to javascript
what I want is to get the value on click of an input field and deocode and pass it back
<script type="text/javascript">
$('.my_id').click(function(){
var lv = $('div.special_box form input').val();
var lv = <?php base64_decode( 'here should come my javascript variable' )?>
});
</script>
ajax.