Jump to content
php.lv forumi

iespējams konflikts starp kodiem


ziedinjsh

Recommended Posts

Īsti nesaprotu kas pa vainu.. man ir div ar display:none; tas ir kā popup un iekšā ir poga. Atverot popup un nospiežot pogu neizpildās jQuery funkcija:

$(document).ready(function() {
   	$('#download').submit(function() {
       	location.reload;
 });
});

 

noņemot display:none; tad funkcija izpildās, bet vairs nav kā popup;

 

$(document).ready(function() {
 	$('a[rel*=facebox]').facebox({
   	loadingImage : 'img/loading.gif',
   	closeImage   : 'img/closelabel.png'
 	})
});

 

Kas tur pa vainu varētu būt?

Edited by ziedinjsh
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...