Posts

php - "SyntaxError: missing ; before statement" -

im trying write code add javascript in variable. going find until error "syntaxerror: missing ; before statement" ... have found out if remove line works (i put // ---- on line). please can help? $this->paint_javascript_function_text .= ' function image_'.$this->archive_id.'_rollover (){ document.getelementbyid("details").innerhtml = "'.$this->archive_name.'<br />'.$this->archive_dimensions.' - price &#163;'.$this->archive_price.' inc packaging"; } function image_'.$this->archive_id.'_fullsize (){ document.getelementbyid("gallery").innerhtml = '; $this->paint_javascript_function_text .= "'"; $this->paint_javascript_function_text .= '<table width="100%" height="400"border="0" align="center"><tr><td align="right" valign="middle...

c# - inherit method throws error -

i have following super class: abstract class contactqueue { public abstract datetime period { get; set; } public abstract string type { get; set; } public abstract string tostring(); public string rewriteperiod(string choice) { new cultureinfo("da-da"); switch (choice) { case ("day"): return period.tostring("ddd"); case ("week"): return ""+period.tostring("ddd")+" uge: "+weeknumber(period); case ("year"): return period.year.tostring(); default: return ""; } } private int weeknumber(datetime fromdate) { // jan 1st of year datetime startofyear = fromdate.adddays(-fromdate.day + 1).addmonths(-fromdate.month + 1); // dec 31st of year datetime endofyear = startofyear.addy...

java - sorting on ArrayList but ArrayList have same value -

my text is ---- sınİsıru, sınİuzo puanları azalan : ------ {deneme deneme deneme}{anya}{ltd. Ştİ.}{1.75}{1.25}{14.00}{10.00}{1.75}{1.2}{false} ------ {deneme deneme deneme }{dzlİ}{ Ştİ.}{1.43}{1.14}{11.43}{9.14}{1.43}{0.57}{false} ------ {deneme deneme deneme }{meİn}{ Ştİ.}{1.29}{1.10}{10.29}{8.76}{1.29}{0.55}{false} ------ {deneme deneme deneme }{hay}{ Ştİ.}{1.29}{1.10}{10.29}{8.76}{1.29}{0.55}{false} ------ {deneme deneme deneme }{ahan}{ Ştİ.}{1.29}{1.10}{10.29}{8.76}{1.29}{0.55}{false} ------ {deneme deneme deneme }{msa}{ Ştİ.}{1.29}{1.10}{10.29}{8.76}{1.29}{0.55}{false} ------ {deneme deneme deneme }{Ş}{ Ştİ.}{1.29}{1.10}{10.29}{8.76}{1.29}{0.55}{false} ------ {deneme deneme deneme }{ko}{. Ştİ.}{1.25}{1.08}{10.00}{8.67}{1.25}{0.54}{false} kolon1:1.75,1.43,1.29... kolon2:1.25,1.14,1.10.. then ı sorted them smallest bigger. there replaced number ı dont want replaced number. exemaple if contain text contain 3,3,3,3,3,2,2,2,2,1,1,1,1,1,1 ı want 1 2 3 public class poi...

sockets - Java:ObjectInputStream returns same Object -

i programming java network using sockets , exchanging data between remote programs using simple objects. in present case have objectinputstream constructed using : new objectinputstream(socket.getinputstream()) so using writeobject method write object contains string fields. however receiver when calls readobject returns same object. to check set 1 of string fields store current time. while writing object different time each object. received object show same single time in string field. clearly speaking every object returned after each call objectinputstream.readobject exact clone of other why happening? try doing objectinputstream.reset();

Hive - What is the purpose of CLIDriver.java? -

i trying understand hive codebase. org.apache.hive.cli.clidriver do? class contains hardly comments , javadoc doesn't explain either. the clidriver class in hive designed starting hive session , reading hiverc files if there any, loading configurations , processing ; terminated commands execute in hive thanks, achyut

VB6 MsgBox not working with ASP.NET -

i using vb6 application dll in web application. in vb6 application there many msgbox alerts available. when debug web application got alerts dll. when configure in iis , browse no msgbox alerts coming.where issue? if want display message boxes on server debugging purposes, here link describes how that: how enable message box in iis server it explains why bad idea. :)

javascript - jquery tabslideout behaviour -

i have problem here slide out. works 1 one php file not on same code? i have tried changing id's confused. please help. <input id="#submit456" type="submit" class="button" value="request quote &raquo;" style="background:#336600; color:#fff; padding:8px; font-weight:bold; margin-top:-4px; float:right; font-size:11px; font-family: arial, helvetica,sans-serif;" > $("#submit456").click(function(event){ if (obj.hasclass('open')) { slidein(); } else { slideout(); } });