The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
when i click the button every thing is closed, why it is happening? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: when i click the button every thing is closed, why it is happening? (/showthread.php?tid=3205)



when i click the button every thing is closed, why it is happening? - mobilya - 2012-05-18

on my site when i click the hidden costum area button everything is closed.

i dont want to close them when i click this button. but they are closed.

what sould i do for it.


<!DOCTYPE html>
<html>
<head>
<style>
p { background:red; }
</style>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<p>

It is a long established fact that a reader will be distracted. The point of using Lorem Content is here...

</p>
<p>
<span>Mr [Name], [Surname]</span>
<a href="http://www.mobilyala.com" />

</a>
Welcome to our website. You can read all about our services. We are working on dekorasyon

<button>Hidden Custom Area</button>

</p>
<script>
$("button").click(function () {
$("p").empty();
});
</script>

</body>
</html>


when i click the button every thing is closed, why it is happening? - vladislav - 2012-05-18

The button seems to be deleting itself
Didn't get exactly what you mean. Perhaps you mean this?
Have no opportunity to check it right now. Does this help?

<!DOCTYPE html>
<html>
<head>
<style>
p { background:red; }
p.magicparagraph {background-color:teal;}
</style>
<script src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
<p>

It is a long established fact that a reader will be distracted. The point of using Lorem Content is here...

</p>
<p>
<span>Mr [Name], [Surname]</span>
<a href="http://www.mobilyala.com" />

</a>
Welcome to our website. You can read all about our services. We are working on dekorasyon

</p>
<p class="magicparagraph"> This magic text will disappear if you dare to click the button dude</p>
<p> <button>Hidden Custom Area</button></p>




<script>
$("button").click(function () {
$(".magicparagraph").empty();
});
</script>

</body>
</html>


Cheers


when i click the button every thing is closed, why it is happening? - shawn_a - 2012-05-18

Code:
$("p").empty();

Means to empty everything in a paragraph p tag.
This is jquery, you can google how to use jquery selectors to learn how it works.