newbie question alert! :)
I am trying to convert this JavaScript that is loaded on the page to a PHP script as in IE 8 the values are not loaded.
This is the part of .js that I want to convert
$(document).ready(function() {
var user = loadCurrentUser();
var user_id = user['user_id'];
$('form[name="updateAccount"] input[name="email"]').val(user['email']);
I tired several versions of php code but nothing seems to be working.
Any help would be highly appreciated!
loadCurrentUser()function does. But anyway, I'm sure the smarter way is to solve the IE8 issue.