Post by Alan Vende on Feb 2, 2015 17:42:17 GMT -8
I am creating a Plugin and I have an AutoForm in it. When I type code into it to test it and click Backspace/delete to take a character away, it takes away the whole form.
I don't think I coded anything wrong, but the only code I have in the Plugin itself at the moment is:
I doubt that those are the reason why, but it didn't happen until I put those in there. They probably are all the reason why, but just wanted to ask.
Thanks!
I don't think I coded anything wrong, but the only code I have in the Plugin itself at the moment is:
/* This is the JavaScript that I have written to grab the Elements by their IDs,
which are found in the Variable section to the right */
$(function() {
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.one_user_full_profile_html__css")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.one_user_full_profile_html__css.one_user_full_profile_user_id")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.one_user_full_profile_html__css.one_user_full_profile_span_id")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.one_user_full_profile_html__css.one_user_full_profile_html")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.one_user_full_profile_html__css.one_user_full_profile_css")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.mp_html__css")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.mp_html__css.mp_user_id")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.mp_html__css.mp_span_id")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.mp_html__css.mp_html")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.mp_html__css.mp_css")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.user_groups_full_profile")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.user_groups_full_profile.user_group_id")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.user_groups_full_profile.span_id")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.user_groups_full_profile.full_profile_html")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.user_groups_full_profile.full_profile_css")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.user_groups_mini_profile")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.user_groups_mini_profile.user_group_id")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.user_groups_mini_profile.span_id")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.user_groups_mini_profile.full_profile_html")
document.getElementById("pb.plugin.get('full_mini_profile_styles').settings.user_groups_mini_profile.full_profile_css")
)
I doubt that those are the reason why, but it didn't happen until I put those in there. They probably are all the reason why, but just wanted to ask.
Thanks!