15,127 Topics
| |
if i have [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>[/CODE] [CODE] <script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js" type="text/javascript"></script>[/CODE] both of these in my header my jquery menu does not work. i have searched google and it keeps telling me about this [CODE] <script> jQuery.noConflict(); // Use jQuery via jQuery(...) jQuery(document).ready(function(){ jQuery("div").hide(); }); // Use Prototype with $(...), … | |
On a form, I want to jump to the next tabindex when pressing the 'enter' key. The script that should do the thing, should look like this (the tabindex is generated dynamically and the code is simplified): [CODE] <form id='MyForm'> <?php $tabindex = 1; ?> <input class='pts' type='text' id='<?php echo … | |
THE SCRIPT bELOW PASSED THE SECOND TO 0 (STARTING FROM 1500 SECOND) I NEED 1500 SECONDS THAT SHOW AS 00:25:59, 00:25:58................00:25:01...00:24:00...00:24:59........................UNTILL 00:00:00. PLZ HELP ME <HTML> <BODY> <script language="javascript" type="text/javascript"> var myTime = "1500"; function countDown() { document.form.seconds.value = "00:25:" + (myTime < 10 ? "0" + myTime : myTime); … | |
i want to create a timer for my php page i created the page that only 20 second i want that the time should be as 00:00:20 (hh:mm:ss) plz help my scipt are.......................................................................................................... [code]<tr> <!-- countdown script --> <td style="text-align:left;font-size:10pt;font-family:Verdana, Arial;">Time Left: <input type="text" name="seconds" size="3"> <script language="javascript" type="text/javascript"> var … | |
Hello, Would it be possible to add text to textboxes with the click of button? The page contains three dropdowns (category, sub category, items). First, user selects a category in the dropdown. In the second dropdown, all items that are held in that category are displayed. In the third dropdown, … | |
I've used this method to highlight the location page that the user is on. Below is a working example of how this functions. This works in div tags or in a tables and cross browsers. Below I've created a main Navigation and two sub navigation. Terminal Intensity, Surreal 1, & … | |
Hy all. I have some problem then tried employ action onMouseover and onMouseOut. I have further drop unordered menu [CODE] div#content{position: relative; padding:0 10px; border: solid 1px #6b6b6b; height: 100px;} ul li {list-style: none;} ul.menu {padding: 0; margin:0; display: block; height: 68px;} ul.menu > li {float: left; background: url("li.jpg") no-repeat … | |
hi i'm new to ajax i've already got a drop down menu populated with values from my database and the code is underneath here, when i click on any province in the drop down menu the cities have to appear on the next page which are also from my database.The … | |
Hi there, I am working on form validation, i want to validate "Name" input field value . I want that in "Name" input field no number can be input. Is there any function which search number/s from string ?? i.e if user inputs any number in that field with string … | |
Is it better to learn html, javascript, php, then mysql if you want to start ur site? Is it better to learn it in that order? | |
Dear Friends, i use php for develop a web site..I generate a table with images at back end of php..after that I innerHTML that table to html div tags...In image click event i must want to fire jquary function...In testing time(hard code that table in html page) the function is … | |
HI I have this js function for pulling out a couple of links which I want to add onclick handlers to... but IE can't find the rel attribute the way Im doing it, Im assuming it can another way, but I dont know how?! this works in Chrome, but not … | |
In the following code, the click event is added explicitly to the body, so that even if click outside the button say on the body the div with ID tip1 should close with a fade effect. The problem here is that the the div closes even if we click on … | |
Hello , I want to add muliple radio button on click of a radio button and this to happen in sub radio buttons also any kin of help appreciated thanks | |
I am working on an optional exercise for a course, being optional no one has posted any helpful feedback on the course forum. I have finished the code as instructed, to the best of my ability and cannot located the problem. The script is supposed to activate a red ball … | |
Hi all, I am trying to show a field based on another field's value and hide it it initially... like when you want students to select their schools if they have gone for education ortherwise the school field remains inactive... I have the folowing scipt but it is not being … | |
how to populate select box depending upon the selection of the radio button on rails anyone knows what will be the possible ajax and rails script for populating dropdown list values based on selected radio button on rails 3 example there are two type of platform choices(windows, unix) of radio … | |
Hi, I want to get such data using AJAX from PHP. With php I generate data this way: [CODE=php] $return['credits'] = $credits; $return['banners'] = $this->generate_banners($user->id); echo json_encode($return); [/CODE] generate_banners: [CODE=php] function generate_banners($user_id) { $html = ''; $query = $this->db->where('user_id',$user_id)->select('filename')->get('jos_reklama_banners'); if($query->num_rows() > 0) { foreach($query->row() as $filename) { $html .= '<div … | |
hi, i don't know coding and trying to find if is it possible to have a text area pre filled and has an image and a link and some text. is it possibele? below is what i am trying to do please help. thank you this is what i would … | |
I am trying to validate the fields in the form and trying to POST the input after validating form the server however I am able to validate the fields but not able to POST the data form the field, please help if anyone could. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
Hi, I'm currently working on a website for my dad that has dynamic fields (hit a button and an html template gets displayed). You can see the template in use here... [url]http://hbndev.com/ipad/index.php?option=com_content&view=article&id=5&Itemid=6[/url] As you can see it works, perfectly. EXCEPT for when you add a field it drops to below … | |
I am trying integrate an upload system from YouSendIt.com in to my companies forms. The code they give for integration is basically an iframe with a coded URL set for the source. Their server sends a postback using HTTP Post method but I am not sure how to access the … | |
hi, i am sorry i dont understand coding but trying to find this out i have this <a href="#" onclick="publishStream(); return false;">Click Here Publish Box</a> after click popup comes asks to publish or skip i would like to change it to this <body onLoad="publishStream(); return false;;"> which eliminates the first … | |
hi i am having trouble with resizing can't get id using $(this).attr("id") [CODE] <script type="text/javascript"> $(document).ready(function() { $('.text_wrapper').resizable({ onResize: function(e) { var id = $(this).attr("id"); var parent = $(this).parent(); $('.wrapper').load('modules/web/process-sortable-size.php?height='+ e.data.resizeData.target.css('height') +'&width='+ e.data.resizeData.target.css('width') +'&id='+ id); }, onStop: function(e) { } }); }); </script>[/CODE] | |
Hello I have a web site called shadygames. I want to make sure that all the information is filled out in a contact form I have set up. I am using ajax to update the page if more information is required by the user. I have the email validation working … | |
Hi, where is the best practice to put js, image, css files when you make component? I put them in the same directory as component is. Is it good practice? Or should they be in media directory? | |
Hi, I am working on a form which is as follows - +---------------+----------------+--------------+-----------------+---------------+ |Item_Code |Item_Name |Quantity |Rate |Amount | |[ COMBO BOX ] |[ COMBO BOX ] |[ USER INPUT ]|[ Auto Fill after| [ CALCULATED ]| |Generate Field2|Generate Field 1| |selecting f1/f2 | | +---------------+----------------+--------------+-----------------+---------------+ The user can either … | |
Hi. I have a div which contains dynamic content populated with AJAX (user has two select boxes to filter query results) However when filtered results extend past the initial height of the div in question, the div remains the same size and the results overflow out of my content area. … | |
Hello all, I would like your help on chunking a multidimensional array, which appears to be a complex job. The array has the following structure: name["rows"]["key1"] = some String; name["rows"]["key2"] = some String; name["rows"]["key3"] = some String; name["rows"]["key4"] = some String; name["rows"]["key5"] = some String; ... name["rows"]["keyN"] = some String; … | |
Hey guys, I'm having a little bit of trouble here. I have a variable called Latest1 and it's value is some HTML and PHP code. I have a function that does document.getElementById().innerHTML = Latest1; So when that happens, it runs the HTML code but for some reason it doesn't run … |
The End.