Form:Inscription: Difference between revisions

From Cives
Jump to navigationJump to search
No edit summary
No edit summary
Line 59: Line 59:
   let regex = /<img[^>]*>/g;
   let regex = /<img[^>]*>/g;
   let imgTags = inputSpan.match(regex);
   let imgTags = inputSpan.match(regex);
  console.log(imgTags);
   imgTags = imgTags.slice(0, -1);
   imgTags = imgTags.slice(0, -1);
 
  console.log(imgTags);
   inputSpan.textContent = '<div id="slikce">' + imgTags + '</div>';
   inputSpan.value = '<div id="slikce">' + imgTags + '</div>';
});
});



Revision as of 16:43, 3 April 2024

This is the "Inscription" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.