Hello!
Is there any method to detach input element label from the element and place the label above element or left element without label?
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
Input element label placement Topic is solved
Input element label placement
Last edited by mih on Mon Mar 06, 2023 5:42 pm, edited 1 time in total.
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Input element lable placement
Hi,
This code moves the label associated with the field (with id cus_name) to the top of the input field, instead of being positioned to the left of the field
More examples can be found in the Code Library.
This code moves the label associated with the field (with id cus_name) to the top of the input field, instead of being positioned to the left of the field
Code: Select all
$('#cus_name').nuLabelOnTop();
Re: Input element lable placement
Ah! I looked for this in visual editor and missed this function.
And how to remove (hide) label?
And how to remove (hide) label?
-
- nuBuilder Team
- Posts: 4292
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 71 times
- Been thanked: 444 times
- Contact:
Re: Input element lable placement
To remove the label
To hide the label
Code: Select all
$('#label_cus_name').remove();
To hide the label
Code: Select all
$('#label_cus_name').hide();