익스에서는 되는데 크롬에서는 안되네요 정보
익스에서는 되는데 크롬에서는 안되네요
본문
브랜드별,모델별로 검색하는 건데요 익스에서는 되는데 그외 크롬이나 사파리에선 안돼네요
어떤식으로 수정해야 좋을까요?
--------------------------------------------------------------------
function makechange()
{
var f = document.fsearch_cars;
brandview(f.make.value);
}
function brandchange()
{
var f = document.fsearch_cars;
}
function locaview()
{
var f = document.fsearch_cars;
f.loca.options.length = 1;
f.loca.options[0].text = "지역(전체)";
car = cars["지역"].split(",");
f.loca.options.length = car.length+1;
for (i=0; i<car.length; i++) {
f.loca.options[i+1].value = car[i];
f.loca.options[i+1].text = car[i];
}
}
function yearview()
{
var f = document.fsearch_cars;
f.year.options.length = 1;
f.year.options[0].text = "연식(전체)";
car = cars["연식"].split(",");
f.year.options.length = car.length+1;
for (i=0; i<car.length; i++) {
f.year.options[i+1].value = car[i];
f.year.options[i+1].text = car[i];
}
}
function modelview(make, brand)
{
var f = document.fsearch_cars;
f.model.options.length = 1;
f.model.options[0].text = "등급(전체)";
f.model.options[0].selected = true;
if (!make || !brand) {
return;
}
car = cars[make+"->"+brand].split(",");
f.model.options.length = car.length+1;
for (i=0; i<car.length; i++) {
f.model.options[i+1].value = car[i];
f.model.options[i+1].text = car[i];
}
}
function brandview(make)
{
var f = document.fsearch_cars;
f.brand.options.length = 1;
f.brand.options[0].text = "모델(전체)";
f.brand.options[0].selected = true;
if (!make) {
return;
}
car = cars[make].split(",");
f.brand.options.length = car.length+1;
for (i=0; i<car.length; i++) {
f.brand.options[i+1].value = car[i];
f.brand.options[i+1].text = car[i];
}
}
function makeview()
{
var f = document.fsearch_cars;
f.make.options.length = 1;
f.make.options[0].text = "브랜드(전체)";
car = cars["제조사"].split(",");
f.make.options.length = car.length+1;
for (i=0; i<car.length; i++) {
f.make.options[i+1].value = car[i];
f.make.options[i+1].text = car[i];
}
}
function onChangeKey() {
var make = document.fsearch_cars.make.value;
var brand = document.fsearch_cars.brand.value;
var year = document.fsearch_cars.year.value;
var loca = document.fsearch_cars.loca.value;
if (make == "" && brand == ""&& year == ""&& loca == "") {
alert("브랜드나 연식을 선택하세요!!");
return false;
} else {
if (year == ""&& loca == "") {
document.fsearch_cars.stx.value = make+ " " + brand;
} else {
if (loca == "") {
document.fsearch_cars.stx.value = make + " " + year + " " + brand;
}else {
document.fsearch_cars.stx.value = make + " " + brand + " " + loca + " " + year;
}
}
document.fsearch_cars.submit();
}
}
어떤식으로 수정해야 좋을까요?
--------------------------------------------------------------------
function makechange()
{
var f = document.fsearch_cars;
brandview(f.make.value);
}
function brandchange()
{
var f = document.fsearch_cars;
}
function locaview()
{
var f = document.fsearch_cars;
f.loca.options.length = 1;
f.loca.options[0].text = "지역(전체)";
car = cars["지역"].split(",");
f.loca.options.length = car.length+1;
for (i=0; i<car.length; i++) {
f.loca.options[i+1].value = car[i];
f.loca.options[i+1].text = car[i];
}
}
function yearview()
{
var f = document.fsearch_cars;
f.year.options.length = 1;
f.year.options[0].text = "연식(전체)";
car = cars["연식"].split(",");
f.year.options.length = car.length+1;
for (i=0; i<car.length; i++) {
f.year.options[i+1].value = car[i];
f.year.options[i+1].text = car[i];
}
}
function modelview(make, brand)
{
var f = document.fsearch_cars;
f.model.options.length = 1;
f.model.options[0].text = "등급(전체)";
f.model.options[0].selected = true;
if (!make || !brand) {
return;
}
car = cars[make+"->"+brand].split(",");
f.model.options.length = car.length+1;
for (i=0; i<car.length; i++) {
f.model.options[i+1].value = car[i];
f.model.options[i+1].text = car[i];
}
}
function brandview(make)
{
var f = document.fsearch_cars;
f.brand.options.length = 1;
f.brand.options[0].text = "모델(전체)";
f.brand.options[0].selected = true;
if (!make) {
return;
}
car = cars[make].split(",");
f.brand.options.length = car.length+1;
for (i=0; i<car.length; i++) {
f.brand.options[i+1].value = car[i];
f.brand.options[i+1].text = car[i];
}
}
function makeview()
{
var f = document.fsearch_cars;
f.make.options.length = 1;
f.make.options[0].text = "브랜드(전체)";
car = cars["제조사"].split(",");
f.make.options.length = car.length+1;
for (i=0; i<car.length; i++) {
f.make.options[i+1].value = car[i];
f.make.options[i+1].text = car[i];
}
}
function onChangeKey() {
var make = document.fsearch_cars.make.value;
var brand = document.fsearch_cars.brand.value;
var year = document.fsearch_cars.year.value;
var loca = document.fsearch_cars.loca.value;
if (make == "" && brand == ""&& year == ""&& loca == "") {
alert("브랜드나 연식을 선택하세요!!");
return false;
} else {
if (year == ""&& loca == "") {
document.fsearch_cars.stx.value = make+ " " + brand;
} else {
if (loca == "") {
document.fsearch_cars.stx.value = make + " " + year + " " + brand;
}else {
document.fsearch_cars.stx.value = make + " " + brand + " " + loca + " " + year;
}
}
document.fsearch_cars.submit();
}
}
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '214683' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php