15,698 Topics
![]() | |
Guys please give a simple code (specific syntax) on how can I integrate a jquery in my PHP site using codeigniter. and what configuration should be made in my other php files to make it work. I also cannot display any image in my php files inside the views folder, … | |
Hi, I'm very new to javascript, if someone could help me I would really appreciate it. I'm adding this floatable jquery menu to my site [jquery-floating-menu](http://manos.malihu.gr/jquery-floating-menu). What I'm trying to do is get the menu to expand when clicked. I have tried to add .click instead of .hover but it … | |
hi i need to add button thath allow to print out list my script display on the screen, i try few thing but button always dissapear after i display list. can someone help me? this is my script code: <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> <script> var teams … | |
| |
Hi, i'm new to javascript and I'm just wondering why this isnt displaying the alert messages.. can anyone shed some light? <script type="text/javascript" charset="utf-8"> $(document).ready(function() { $("#username").keyup(function(e) { var usr = $("#username").val(); var allready= 0; if(usr.length > 3) { allready= 1; $('input[type="submit"]').removeAttr('disabled'); } else $('input[type="submit"]').attr('disabled', true); allready = 0; }) … | |
I am learning jQuery from thenewboston. I have learnt about ID selectors (#) and element selectors (<html element>). They have also used the colon selector (:). What is the colon selector for? Can somebody please explain in an easy way? | |
Hello I am working on a web page(php based). I want to put a `like` button, so that when a user clicks it, he is added to the likers list in my database.(like in the facebook). I wrote a php funtion to execute this database insertion, but since the event … | |
Hey guys, I've been stuck on this problem for quite some time now. I'm trying to have someone type some text into CK editor and then I want to count how many bold, italic, or underlined words have been typed. I've managed to count the number of tags there are … | |
I have this code: <?php foreach ($_options as $_option) : ?> <input id="xyys" type="hidden" name="xyys" value="<?php echo($_option['value']);echo ($_option['option_id']);?>" /> <?php if($_option['label'] != 'Corte'): ?> <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?> <dt><?php echo $this->htmlEscape($_option['label']) ?></dt> <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?> <?php if (isset($_formatedOptionValue['full_view'])): ?> <div class="truncated_full_value"> <dl … | |
Hello there, I have been looking on the internet for the past week or so but no luck. I have come accross few bits and pieces but nothing that really worked or too much for what I am looking for. I am looking to have a Accordion Menu with 3 … | |
Hi peeps, I wonder if you can help me at all. I am recreating a simple design, just doing some testing really, and what I am trying to achieve is to hide and show the navigation on the left side, here's the website: http://antobbo.webspace.virginmedia.com/various_tests/worktest/test.htm So ideally when i click on … | |
Hello, Iv been working on a project in java and i want to implement an export to HTML 5 feature. I have looked around and not seen many useful discussions on how to implement this feature. A number of software products i looked into such as scirra construct and adobe … | |
how to input a code snippit to a textarea and how to preview it using syntax highliting in a html page? | |
Hi, I am trying to change background image of my div but its not picking up style of background image that I am setting from javascript. So can anyone help me out? Thanks in advance. Here is my code: <HTML> <script language="JavaScript"> NUMBER_OF_IMAGES = 3; ImageNames = new Object(); ImageNames.length … | |
Hi, I'm using a javascript messagebox, but i'm having trouble with the delete: <html> <head> <title>Adminstração</title> <!----------------------------------------------> <script type="text/JavaScript"> function confirmDelete() { var agree=confirm("Tem a certeza que quer remover?"); if (agree) { return true; <?PHP $del="DELETE FROM content_lang WHERE id_content = '".$row_lang['id_content']."'"; $q_del=mysql_query ($del, $connect); ?> } else { return … | |
I am building a small quiz app and the choices are all list items (li) In jQuery or javascript how would I be able to allow the user to select one answer (it is ok if I need to add an 'a' tag) and then when they click submit (which … ![]() | |
Hi guys, I have a php crop issue, I am using Jcrop (JQUERY plugin) to allow users crop their user profile picture jquery doesnt have an issue (is easy to select) but when processing image crop in PHP, image crop doesnt work and all i get is an empty page … | |
i m trying to make a multiple level slide in-out menu in juqery.. i m able to open one div.. but not able to hide open div and show the clicked one.. this is my work.. click menu1 only working.. when i click menu2 everything goes work.. please have a … | |
<html> <head> <!--Load the jquery lib --> <script type="text/javascript" src="jquery-1.7.2.js"></script> <!--Use jquery --> <script type="text/javascript"> $var = 1; </script> <script type="text/javascript"> $(document).ready(function(){ $('#cont').click(function(){ $('<p />').text("hye").appendTo($('#cont')); }); // $('p').live("click", function(){ // if($(this).text() == "Good...1") // $(this).empty().appendTo($('#myDiv')); //}); }); </script> --> </head> <body> <!-- <div id="myDiv"> <p>Hello world!</p> </div> <a href="#" id="myLink">Change … | |
Hi, I have a HTML structure like this: <div> <div id="a"></div> <div id="b"></div> <div id="c"></div> </div> I know the ID of an element (let's say it's #b), and i need to know which index it has in the parent div. In this case that would be 2. How do i … | |
i created a jsp page and put a javascript code " window.onload=func(); " in the header when the page is loading.In that func(),i set two objects to the session (using AJAX) and get them back into the jsp.After debugging the aplication everything is ok.but jsp page doesn't display the content … | |
Hi, I got a problem. I'm new to $ and i want to make a div to be displayed 3 seconds after the page loaded but i want it displayed on the desktop( behind the webpage). I made the part where the div slides from the right-bottom corner but i … | |
**Hey i'm creating basic a shopping cart for a uni project, everything works however when I select the view cart button on my html page it appears, however if i select it repeatedly, the table creates a replica table below and does this everytime I select my button so I … | |
Hi! I have a form (which is in html(the rest of my coding done in PHP)) that prompts user to choose image, type in title and choose status and after pressing confirm button script uploads image and its details to MySQL database. I'm trying to fade whole screen or disable … | |
i am working on advert website .In which i need to impliment advertisement impression logic.Can anybody tell me advertisement impression logic. | |
I have a condition based upon which I require that the AJAX HTML Editor gets disable. This code is not working: edNote.Enabled=false; //edNote is AJAX editor. Please suggest any other means to do this. | |
how to open the multi content pop up's ,below code showing button1 content only when i cleick the second button top <div class="buttons"> <button type="button" id="btnShowSimple" value="Email" class="positive" > <img src="../css/bmail.png" alt="email"/> Email </button> <button type="button" id="btnShowShare" value="Share" class="positive" > <img src="../css/share.jpg" alt="Share"/> Share </button> </div> <div id="model"> <div id="output"></div> … | |
So if anyone is or has used the Facebook Javascript SDK to log users on to your own website....am curious. Is there some element that you can always check that it's a valid user? Because, sure, FB redirects them to the new URL once they logon. But so can Google. … | |
i have code of advertisement of a website .i want to know how can i get information on serverside for a view or a for click.i need its working for developing a advertisement web site. <script type="text/javascript"> var AdBrite_Title_Color = '0000FF'; var AdBrite_Text_Color = '000000'; var AdBrite_Background_Color = 'FFFFFF'; var … | |
![]() | Hi, my jQuery link is not working. Its only work if I'm not using `href` attribute on that link. Currently its only functioning when I put the `URL` into `alt`or `title` attribute for example. When I put the url on `href` attribute it will not run as AJAX. Sorry if … ![]() |
The End.