Never mind, I think I'm barking up the wrong tree. I don't know much about JavaScript & jQuery, and my suggestion was based on comparing your internetjs code to ours. Now I don't think it will help you. Hopefully someone with more expertise will chime in. Owen? Cheers, Daniel Daniel Grobani wrote:
Try replacing your first line with:
$(function() {
Cheers,
Daniel Grobani System Administrator John A. Graziano Memorial Library Samuel Merritt University
Dear All,
While trying to remove some of the fields in member entry form through staff client-intranetuserjs as per the koha docs , it is not removing the fields. I think the java script is not included to the intranet forms.
I have added this to intranetuserjs
$(document).ready(function(){ alert("hi"); $("#entryform #btitle").parent().remove(); $("#entryform #initials").parent().remove(); $("#entryform #othernames").parent().remove(); $("#entryform #streetnumber").parent().remove(); $("#entryform #streettype").parent().remove();
});
Any help is apreciated
regards
Liny Varghese
-- View this message in context: http://old.nabble.com/intranetuserjs-tp26722615p26735649.html Sent from the Koha - Discuss mailing list archive at Nabble.com.