• Page 1 of 1
  • 1
Automatic Tag Generator for Ad Board Entry Page
khen
Posts: 476
Reputation: 13

Message # 1 | 4:05 PM
I use this code in my Ad Board Entry Page (Page with entry full text and its comments) but it didn't work out for me:

<script type="text/javascript">
$(document).ready(function(){
$("form#addEntForm").submit(function(){
if ($('#suggEdit').val().match(/^\s*$/)) {
var entryname = $('#bdF1').val();
entryname = entryname.split(' ').join(', ');
$("#suggEdit").val("" + entryname + "");
}});});
</script>

Is there something wrong with this code? Please help.


Animorph
Posts: 2856
Reputation: 189

Message # 2 | 5:12 PM
this should work , did you pasted this after the body tag ?

Moved to user communication


To busy building a passive income online ;)
rys3r
Posts: 179
Reputation: 5

Message # 3 | 5:12 PM
Code

<script type="text/javascript">  
  $(document).ready(function(){  
  $("form#addEntForm").submit(function(){  
  if ($('#suggEdit').val().match(/^\s*$/)) {  
  var entryname = $('#bdF1').val();  
  entryname = entryname.split(' ').join(', ');  
  $("#suggEdit").val("" + entryname + "");  
  }});});  
</script>

this code is for the page: Entry adding/editing page

regards

Animorph
Posts: 2856
Reputation: 189

Message # 4 | 5:17 PM
rys3r, he knows that
To busy building a passive income online ;)
rys3r
Posts: 179
Reputation: 5

Message # 5 | 5:57 PM
Quote (khen)
I use this code in my Ad Board Entry Page (Page with entry full text and its comments) but it didn't work out for me:

no he dont know. wink because i have this working in my site and with the same code.
Animorph
Posts: 2856
Reputation: 189

Message # 6 | 5:59 PM
rys3r, oh sorry then i mis-readed myself smile
To busy building a passive income online ;)
khen
Posts: 476
Reputation: 13

Message # 7 | 5:10 AM
I already put those code in the Entry adding/editing page but nothing happens. Is there any code to be inserted in the Ad Board Entry Page (Page with entry full text and its comments)?
rys3r
Posts: 179
Reputation: 5

Message # 8 | 9:50 AM
insert the code after the <body> tag and it will work. for show tags in Page with entry full text and its comments use the code $TAGS$
Pancake_old
Posts: 731
Reputation: 8

Message # 9 | 10:19 AM
quick question, is there anyway to change the look on my ad board ? at the time its just plain normal a little to plain if you ask me biggrin
ePal(Join and be rewarded with our new look)
Bookface
K-Love (Listen Live)
Natashko
Posts: 3366
Reputation: 171

Message # 10 | 10:32 AM
Pancake, you need to ask questions about customizing Ad Board here http://forum.ucoz.com/forum/10 Please, ask a specific question in order to get a specific answer.
  • Page 1 of 1
  • 1
Search: