This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="./jquery.js"></script> | |
<script type="text/javascript" src="./form.js"></script> | |
<script type="text/javascript"> | |
var reg = /(\d+)$/i; | |
$(document).ready(function() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 画像のsubmitボタンをねつ造して別cgiに同時にsubmitしてデータを飛ばす | |
$(function(){ | |
var username = $('table:first table:first tr:first td:first font:last')[0].innerHTML; | |
$('input[name=s_go]').click(function() { | |
$.get( | |
'another.cgi?username=' + username, '', | |
function(data){ | |
$("<input type='hidden' name='submit_x' />").appendTo("form").val(20); | |
$("<input type='hidden' name='submit_y' />").appendTo("form").val(16); | |
$('form').submit(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function(){ | |
$('.searchTableTd4').parents('tr').each(function(n){ | |
$('label', $(this)).each(function(n){ | |
if (n % 3 == 2) $(this).append('<br />'); | |
}); | |
}); | |
}); |
NewerOlder