15,694 Topics
![]() | |
![]() | |
Hi All, I have experience in HTML5, CSS3 and javascript etc.. exposure in JQuery. Now i want to create a new application for Online Leave Application. Any one could you please suggest me what will be the best. And if i want to use JQuery which way use good like … ![]() | |
Hi I was searching it for many weeks I am working on Magento Store, i have 2 domains i want to show different logo on each domain. In header file, logo is shown by this code <?php if ($this->getIsHomePage()):?> <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo … | |
I have a Carousel which uses the setInterval() to toggle between the tabs every 4 seconds. I now want to stop this auto-toggle on click of any particular tab. The clearInterval() is getting called only after a cycle, and not immdetiately when a tab is selected. Please point me to … ![]() | |
I have a function that does certain checks, if the the checks fail, it will add values to a dict, i.e: outstanding = {} sims = [_sim for _sim in self.context.sims if unicode(_sim.iccid)] # for sim in [_sim for _sim in self.context.sims if unicode(_sim.iccid)]: print sims count = len(sims) if … | |
![]() | $("#login_form").submit(function(**event**) I need to pass the word 'event' to the jquery function only for firefox for it to work? WTF? All my functions need changing then? |
I'm a bit new to DOM [please bare with me] and what I want remove some html as I don't actually have access to the HTML file. This is because it is a CMS so would it be possible to manipulate code via DOM? Here is a code sample I … | |
Hi, I am working on displaying my JSON string beautifully using jQuery. Here is my code: $(document).ready(function() { var jsonp = '[{"filename":"4x6_flower.png","count":1,"zones":[{"x":"198","y":"133","width":"1283","height":"820"}]}]'; var obj = jQuery.parseJSON(jsonp); document.body.innerHTML = ""; document.body.appendChild(document.createTextNode(JSON.stringify(obj, null, "\t"))); }); But output is displayed in a single line like this: [ { "filename": "4x6_flower.png", "count": 1, "zones": … ![]() | |
Hi everyone, thanks for reading and replying to this dummy question. I have a script that open a javascript alert box - what I would like to do is after clicking the "OK" button is to direct the user to a new page. the alert is working, just when I … | |
hi evrey on ineed your help in php &jquery im working in news site in news blok the image should be chang when a mouse move to defrent news title this is the templat <section class="box-nwes-con"> <a href="#"> <img src="images/sport-img.jpg" title="{title}" alt="{title}" /> </a> <div class="news-box-con"> <div class="title-news-block"><a href="#">{title}</a></div> <!-- … | |
i am using the below script as my basis for my ajax requests However whenever i run them i keep getting the error Uncaught SyntaxError: Unexpected token hr.onreadystatechange and Uncaught TypeError: Object [object Location] has no method 'load' hr.onreadystatechange Here is the code $('#ind_login_submit').on('click', function (e) { var vars = … | |
I'm try to make javascript onclick function in php file.the result is make an alert window in my page. but nothing happen.please help me. this is my code: <script type="text/javascript" charset="utf-8"> $('#printdata').click(function() { datastring = {customer :'val', person :'val', address :'val', phone :'val'}; $.ajax({ type:'POST', url:'print.php', data:datastring, cache:false, success:function(){ alert('?????'); … ![]() | |
I want to know if this jQuery pseudo-code would fade out then hide the ID#Fabric ? $("#fabric")function() { .fadeOut("6000").hide("500") } | |
Need continuous marquee scroll without gaps after the last line of marquee. | |
Hey everyone I'm looking for someone to help me, I want to view my outlook reminders using JavaScript. Any help would be appreciated. | |
When using "return" in Jscript is it's purpose if used in a function to write something back ? Instead of explaining here is a piece of code. function apple() { var one = "Hello"; var two = "Orange"; var total = One+Two; return total; } document.write(total); Shouldn't the write command … | |
Hello Guys. I am fetching some results from database and show into a page. This is a CodeIgniter Project. Here si the code for that: This is the view: <div class="product_view"> <form action="" method="POST" name="form" id="form"> <?php foreach ($get_product->result() as $key => $result) : ?> <h4>Product Name: <?php echo $result->product_name; … ![]() | |
I am working on online shopping website(e-commerce) website, in which I have a task to retrive products (product id, name, imageurl, price, details of product) Image having in image folder folder where stored images and that pah is given to database.. HereI want to fetch category on clicking menu categories … | |
I am trying to make a dynamic data table . I need row will add dynamically in table and only latest four row show in table . I don't need to show all data in table. here is my code to show dynamic row: $('#history').append('<tr><td>'+labordate+'</br>'+ formattedStart+'</td><td>'+formattedEnd+'</td><td>'+lengthFormatted+'</td><td>'+timeBetweenFormatted+'</td></tr>') Thanks for any help | |
HI I am looking into object literals, a topi that I am afraid I really don't know much about. Anyway, I thought I'd try something but I didn't get it to work and I am not sure what I am doing wrong. I have an HTML page: <html> <head> <title>This … | |
I saw this effect on this website 'http://www.reviews42.com/home/' with the images and all, anyone know how can I get this effect on my image gallery? | |
Good Day All i am opening a Popup and i want to bind the "onbeforeunload" to the popup that if someone clicks on the close button in the window or close button in the page , the event should fire a javascript function that is on the page that opened … | |
Hello, I am able to add one item into the basket. But, I was told that using Javascript I can add more items. Can you please help me? <?php require "connect.php"; $query = "SELECT `DVDID`, `NameOfTheDVD`, `Quantity`, `Price` FROM `DVD` "; $stmt = $dbhandle->prepare($query); $stmt->execute(); $num = $stmt->rowCount(); echo "<table … | |
I am working on a Google Map api3, I am adding points on the map and save it to my database this part is working fine now in the end of adding the map and click on save and close I need to redirect to another page which will tell … | |
I have a form for member registrations that after submitting it, it takes some seconds to a minute depending on inteernet link. during these period, The browser just spins but I want this spinning be acompanied with a message like 'please wait while we process...'. How can I do it? | |
Hello everyone, I am trying to get a code that will check the length of the a 'key' that will be generated in xxxxx-xxxxx-xxxxx-xx format. I need it to verify that it meets the requirements. I do not need it to validate on the server, but i do need it … | |
I have a problem with a script. i want to be able to create events and then to be shown with ajax this is the javascript/ajax $(".event_button").click(function() { $("#flash").show(); $("#flash").fadeIn(400).html('Loading Update...'); $.ajax( { type: "POST", url: "message_ajax.php", data: dataString, cache: false, success: function(html) { $("#flash").fadeOut('slow'); $("#content").prepend(html); $("#event_title").val('').focus().css("height", "40px"); $('#preview_event').html(''); $('#eventvalues').val(''); … | |
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css"> <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script> <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> <style type="text/css"> .bs-example{ margin: 20px; } </style> </head> <body> <div class="bs-example"> <!-- Button HTML (to Trigger Modal) --> <a href="#myModal" class="btn btn-lg btn-primary" data-toggle="modal">Login</a> <!-- Modal HTML --> <div id="myModal" class="modal fade"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <div … | |
http://www.flipkart.com/mens-clothing/winter-seasonal-wear/pr?sid=2oq,s9b,qgu&otracker=hp_nmenu_sub_men_0_Winter%20Wear I want to intergrate filters for checkboxes. is there any jquery plugin avaliable ? | |
how to pass javascript variable value to jsp variable??? ex: <script> var name="balaji"; </script> <% String name1 = name (i need to store java script name value here.) %> |
The End.