Firefox assumes type="submit" with a <button element.
Try <input type="button" value="step ..." instead of <button or return false when it's clicked.
Greetings, Harm Meijer
http://www.niceinchina.com
The form might have a function attached to it when it's submitted, it should return false to NOT submit the form but if it causes an error in firefox it will return nothing and submits the form.
Use firebug plugin and check the console in firefox for errors.
//script:
function...
Will look something like this:
<div>
<div id="show" onclick="this.style.display='none';this.parentNode.childNodes[1].style.display='inline'">show</div>
<div id="hide" onclick="this.style.display='none';this.parentNode.childNodes[0].style.display='inline'">show</div>
</div>
you can put it in...
window.onload=function(snd){
var links = document.body.getElementsByTagName("a");
for(link in links){
// check if link.href!=null
if(link.href.toLowerCase().indexOf("pubtext")!=-1){
link.target="_blank";
}else{
link.target="_self";
}
}
}
For better debugging please use firefox...
The sollution is:
res["/location/location/containedby"]
That will read the value for "/location/location/containedby"
Greetings, Harm Meijer
http://www.niceinchina.com
Lee, thanks for your reply
There is no way I can control what freebase is sending me (maybe changing the query will help but I don't see why).
Firebug can reed the variable so I should be able to do so too.
The example given above is what Freebase.com returnes to me, so there is no way to...
I get something back like this from freebase:
var result = {
"/location/location/containedby" : "the value",
otherval : 22
}
// result./location/location/containedby gives me syntax error (suggested by
// jsEclipse auto suggest
// result.location.location.containedby not working either...
Thank you for your replies, I'll just have php get a count first and depending on the result select grouped set or not.
This is because I can't even get a simple if statement to run in mysql nor setting a variable.
The following only creates errors in mysql:
set @row = select count(distinct...
Sorry to dig up an old thread here but I was wondering if I could use that found_rows and return data based on that.
Here is what the manual says:
http://dev.mysql.com/doc/refman/5.0/en/information-functions.html#function_found-rows
"it is desirable to know how many rows the statement would have...
I have firefox here and IE 6 but it works ok here, no need to escape the < character. Maybe you need more instances of <script to be replaced, to do that make the regexp global (g)
alert('<script\n<script\n'.replace(/<script/i,"hallo"));
alert('<script\n<script\n'.replace(/<script/ig,"hallo"))...
Hi, thanks for your reply.
Don't need the 2 floats as string and add them since I can just do it like this:
SELECT latitude, longitude, count( latitude )
FROM users
GROUP BY latitude, longitude
HAVING count( latitude ) > 1
They will not be grouped unless both latitude and longitude are the...
Well here is a second question:
How do I add strings in mysql sql expression?
select 'this' + ' will ' + ' be 0'
ends up giving me the value:
0
Greetings, Harm Meijer
http://www.niceinchina.com
Hello all and thank you for reading my question.
I have 2 float fields lat and long and want to have the rows collapse where both lat and long are the same.
I want to add the lat and long as strings and group them by that
select lat, long, count(lat + ' - ' + long) from ...
group by lat + ' -...
Just found out that preloading is not needed. display: none will not occupy space of the image. This way you can just let it load by giving the <img element its source and onload resize it. After all this time I never stumbled across the display property.
<script>
function resize(img){
//...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.