Remove events from html tag
-
- Posts: 5
- Joined: Fri Mar 31, 2017
Hi and thank you for amazing software. I have an issue how to remove events(onmouseover, onmouseout) from html tag. I try to use embedded html control and put there
<script type="text/javascript">
Plumsail.FD.jQuery(".ms-relateditems-item").removeAttr("onmouseover");
Plumsail.FD.jQuery(".ms-relateditems-item").removeAttr("onmouseout");
</script>
But didn't succeed although i was able to do it straight in browser console. Then i tried to wrap previous code in jquery ready function
Plumsail.FD.jQuery.ready(function() {
Plumsail.FD.jQuery(".ms-relateditems-item").removeAttr("onmouseover");
Plumsail.FD.jQuery(".ms-relateditems-item").removeAttr("onmouseout");
});
Also wasn't helpful
<script type="text/javascript">
Plumsail.FD.jQuery(".ms-relateditems-item").removeAttr("onmouseover");
Plumsail.FD.jQuery(".ms-relateditems-item").removeAttr("onmouseout");
</script>
But didn't succeed although i was able to do it straight in browser console. Then i tried to wrap previous code in jquery ready function
Plumsail.FD.jQuery.ready(function() {
Plumsail.FD.jQuery(".ms-relateditems-item").removeAttr("onmouseover");
Plumsail.FD.jQuery(".ms-relateditems-item").removeAttr("onmouseout");
});
Also wasn't helpful
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
First, could you describe your case? Do you want to disable mousover event on a Related Items control? - Why?
First, could you describe your case? Do you want to disable mousover event on a Related Items control? - Why?
-
- Posts: 5
- Joined: Fri Mar 31, 2017
Hi Dmitry,
I want to add related item and not want users to be able to modify this field (add new related items and remove existent)
I want to add related item and not want users to be able to modify this field (add new related items and remove existent)
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi,
Set Editable property of the Related Items to False.
Set Editable property of the Related Items to False.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests