Q:

jQuery set input value dynamically?

I have 3 text input areas, within a single form, with a preformated value, like "blue", "red", "green", and I'm in need of loading these values dynamically from a INI file instead of having them pre-written, without reloading the page, and each time I click a link. I can't have that link submitting a form.

A:

Loading Values Dynamically

Read INI file using PHP/ASP/Ruby/Python etc etc
Output those values to 3 JS variables or an array
Get your jquery to read that variable and populate the input boxes. You can use $('#someid').val(someVal);

Or
You can use AJAX to grab the values after the pages have loaded. Not much point in that though.
Make links not clickable
$('a').click(function(){
   return false; //Link clicked but does nothing
})

