Skip to main content

Bug Tracker

Side navigation

#9527 closed bug (invalid)

Opened June 06, 2011 05:07PM UTC

Closed June 23, 2011 07:59AM UTC

Last modified June 24, 2011 03:29PM UTC

Selector not working goed with table's

Reported by: Owned by:
Priority: undecided Milestone:
Component: unfiled Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:
include_once "../../";

echo Site::boven("Nieuw Topic");
<script type="text/javascript">
		$.post('leden/forum/nieuwValidate.php?wat=aanmaak', $("#testform").serialize(), function(data){
<div id='result'></div>

<form method='post' id='testform'>
	echo "<tr><td>Categorie</td><td><select id='select'>";
	$forum = new Forum();
	$cats = $forum->getCategorien();
	$count1 = count($cats);
	for ($i = 0; $i < $count1; $i++) {
		echo "<optgroup label='".$cats[$i][1]."'>";	
		$cats2 = $forum->getSubCategorien($cats[$i][0]);
		$count2 = count($cats2);
		for ($ii = 0; $ii < $count2; $ii++) {
			echo '<option value="'.$cats2[$ii][0].'">'.$cats2[$ii][1].'</option>';
		echo '</optgroup>';
	echo "</select></td></tr>";
<tr><td>Titel:</td><td><input type='text' name='titel'></td></tr>
<tr><td colspan='2'><?=Site::editor()?></td></tr>
echo Site::balkOnder("<input type='button' id='aanmaak' value='Post' name='aanmaak' />");
echo Site::onder();

deze code werkt goed maar als je de 2 lijnen met */* er uit laat niet meer.

maar mijn functie boven begint al een tabel

public static function boven($tekst, $color=0, $border=0){
		$table = "<table id='boven' style='width:100%; position:relative;'";
		if($border != '0'){
			$table .= "border='".$border."'";
		if($color != '0'){
			$table .= "background-color='".$color."'";
		return $table.'><tr><td colspan="20" valign="top" class="menu"><h1>'.ucfirst($tekst).'</h1></td></tr>
		<tr><td colspan="20">';
	// onderste van een tabel te tonen
	public static function onder(){
		return "</td></tr>

Attachments (0)
Change History (3)

Changed June 08, 2011 04:55PM UTC by dmethvin comment:1

owner: →
status: newpending

Hi, can you provide a simple test case in jsFiddle, that doesn't include any PHP? Thanks!

Changed June 23, 2011 07:59AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Changed June 24, 2011 03:29PM UTC by comment:3

i dont now how to work with that jsfiddle zo hier is the puire html

   <meta http-equiv='cache-control' content='no-cache'>
<meta http-equiv='expires' content='0'>
<meta http-equiv='pragma' content='no-cache'> 
<link rel="stylesheet" type="text/css" href="jquery.cleditor.css" />
<link rel="stylesheet" type="text/css" href="jquery-ui-1.8.13.custom.css" />
<link rel="stylesheet" type="text/css" href="css.css" />
<script type="text/javascript">
function pause(millis) {
	var date = new Date();
	var curDate = null;
	do {
		curDate = new Date();
	}while(curDate-date < millis)

		$.post($(this).attr("href"), function(data){
<table id='boven' style='width:100%; position:relative;'><tr><td colspan="20" valign="top" class="menu"><h1>Nieuw Topic</h1></td></tr>
		<tr><td colspan="20"><script type="text/javascript">
		$.post('leden/forum/nieuwValidate.php', $("#testform").serialize(), function(data){
<div id='result'></div>

<form method='post' id='testform'>
<tr><td>Categorie</td><td><select name='cat' id='select'><optgroup label='World-war'><option value="13">Belangrijke Aankondigingen</option><option value="14">Ide�en</option><option value="15">Technische problemen/fouten</option><option value="18">Discussies</option><option value="19">Vragen?</option></optgroup><optgroup label='Projecten'><option value="16">Grafisch</option><option value="20">(Tijdelijk) Solliciteerforum</option></optgroup><optgroup label='Off-topic'></optgroup><optgroup label='Werelden'><option value="17">Wereld 1</option></optgroup><optgroup label='Acties'><option value="21">G-coins</option></optgroup></select></td></tr><tr><td>Titel:</td><td><input type='text' name='titel' /></td></tr>
<tr><td colspan='2'><script type="text/javascript">
		$(document).ready(function() {
        <textarea id="input" name="input" style="width:560px;height:200px;">Hier je tekst</textarea></td></tr>
<tr><td align="right" colspan="20" valign="top" class="menu"><b><input type='button' id='aanmaak' value='Post' name='aanmaak' /></b></td></tr></form></td></tr>

as you can see there is a <table who just contains the 2 firts fiels(input and selectbox) wiothout is the jquery doenst wrok with it it works yust as expetected