Samme som Ozma skriver, i din kode.
Kode
$(".wep").click(function() {
var $self = $(this);
val = $self.attr('value');
id = $self.attr('name');
//$(this) her ute er .wep
$.get('/admin/loopweps', { wep: val }, function(html) {
wep = prompt(html, val);
//$(this) her inne er et httpkall eller noe
$self.attr('value', wep);
});
});