Skip to main content

Bug Tracker

Side navigation

#9529 closed bug (invalid)

Opened June 06, 2011 05:09PM UTC

Closed June 21, 2011 07:52AM UTC

Selector not working goed with table's

Reported by: stijn.haulotte@skynet.be Owned by: stijn.haulotte@skynet.be
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:
Description
<?
include_once "../../instellingen.inc.php";

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

<form method='post' id='testform'>
*/*<table>
<?
if(!isset($_GET['catid'])){
	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>
*/*</table>
<?
echo Site::balkOnder("<input type='button' id='aanmaak' value='Post' name='aanmaak' />");
?></form><?
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>
  		</table>";
	
}
Attachments (0)
Change History (2)

Changed June 06, 2011 05:31PM UTC by ajpiano comment:1

owner: → stijn.haulotte@skynet.be
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced test case on http://jsfiddle.net that reproduces the issue experienced to help us assess your ticket. If you can provide a summary of the bug in English and what you expect the behaviour to be, that would certainly help as well.

Additionally, test against the jQuery (edge) version to ensure the issue still exists.

Changed June 21, 2011 07:52AM 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!