Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

188
Views
Inserting input elements

I am trying to insert/move some insert elements on a form on an internal site.

I am using jquery and the .insertafter function but although the labels will move the inputs wont

This works to move the labels

$("label[for='rn_SelectionInput_26_Incident.CustomFields.c.need_written_reply_1']").insertAfter("label[for='rn_SelectionInput_26_Incident.CustomFields.c.need_written_reply_0']")

but the inputs wont

$('#rn_SelectionInput_26_Incident.CustomFields.c.need_written_reply_1').insertAfter('#rn_SelectionInput_26_Incident.CustomFields.c.need_written_reply_0');

I have also tried to hide them this also fails

$('#rn_SelectionInput_26_Incident.CustomFields.c.need_written_reply_1').hide()
$('#rn_SelectionInput_26_Incident.CustomFields.c.need_written_reply_0').hide()

I have a fiddle here if anyone can help http://jsfiddle.net/kxLsp4ne/

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

in the end the solution was simple

$('#rn_SelectionInput_26_Incident.CustomFields.c.need_written_reply_1').insertAfter('#rn_SelectionInput_26_Incident.CustomFields.c.need_written_reply_0');

Thanks for the help

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!