20,316 Topics
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 …
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.......................................................................................................... <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 …
How to count number of rows from database after every 2 seconds without refreshing page " [COLOR="Red"]id sender receiver message[/COLOR] " these are database fields I want to count and display number of message received after every 2 seconds, like OUTPUT:- " [COLOR="red"]Messages (1)[/COLOR] "
Hello everybody :) for the past 3/4 months i have been learning nonstop in various subjects ranging from html css javascript ( also jquery framwork ) and php i have also been able to put up a static website ( using only htm and css ) after learning more about …
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
Plz tell me how I would calculate time complexity of the program: [CODE]for (i=0; i<points.length; i++) { if (points[i].lng()<lon && points[j].lng()>=lon || points[j].lng()<lon && points[i].lng()>=lon) { if (points[i].lat()+(lon-points[i].lng())/(points[j].lng()-points[i].lng())*(points[j].lat()-points[i].lat())<lat) { inPoly=!inPoly; } } j=i; }[/CODE] thnx in advance
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 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 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 …
Hello, I'm using curl to scrape information through sites. Since some sites don't have subscriptions, I would like to get information from their sites without constantly going to the site. I was wondering if you can sort their content when you've scrapped through site? Like if there was a list …
Hi Everybody I want to disable Control Key on iframe ? Please Help
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 …
Hello Everyone, I used to have a post function that works but it suddenly says: aborted when I run firebug on it and I dont know how I can fix it. I am using servlets in a netbeans IDE and would like to know how to fix it. Once it …
Hi All, I want to be able to have a form element greyed out unless other elements are satisfied. Ive got the following code so far, but i cant seem to get it to recognise that i have made the selection. Also im wondering how to make it only ungrey …
Hi, I am new to testcomplete. I'ld liket to do automation testing using Jscripts in Testcomplete but not all JScripts properties and functions supports here. So how can I learn this, is there any tutorial to learn complete Properties and Functions with some examples to workout Jscripts in Testcomplete.. Can …
Hey, There is a webpage with registered user counter. I want to get an alert when that counter gets to 1000. Does someone know of a website/browser extension that enables sms/email notification when a specific field in a public website is equal a certain value? Maybe someone know how to …
Hi friends, I want to change content of one of div using jquery and animate the div height and width according to new height and width. I want to change about 12 contents. Everything working fine with my code except height issue. My question is how to calculate newly loaded …
Hi Guys, I am trying to implement the masonry plugin on my blog [url]www.Iamvishal.com[/url] but I can't seem to get it working. Below is my code. Any clues as to what I am doing wrong ? [CODE] $(window).load(function () { $('#content').masonry({columnWidth: 185}); }); [/CODE] Cheers, vishal
I'm trying switch the twitter javascript widgets out depending on the time. So in the day, the twitter widget will be colored differently than at night. I used the code that twitter gave me and came up with this code. But I get a syntax error in DW on the …
Hello peeps! Any idea how to make a search result landing page like Google image result? Like the one when you click one image it redirects you to an image preview first before it redirects to the source of that image. I was thinking it could be AJAX, but I'm …
Hi, Need some help here again. If you guys take a look at: [url]http://83.233.5.191/crurre/index.php[/url] There is a field called "Personnummer". Fill this with: 440611-1890 Then press "Hämta personuppgifter" It will then fetch/recieve some personal data and fill the correct fields. But.. as you can see. The number disappear when the …
Bonjour, Je viens vers vous car je ne sais pas du tout comment m'y prendre. Je cherche à faire 6 listes déroulantes liées php JavaScript mysql mai 1 listes déroulantes liées 2 listes déroulantes ca ce ok [COLOR="red"][B]3 listes déroulantes liées 1 listes déroulantes:'(:'(:'([/B][/COLOR] 3 listes déroulantes liées liées 4 …
Hello I've used google to find software which will allow me to create professional html forms, with paypal submissions options and self-calculating fields if possible upon drop-down selections made, but found few which came close, and also tried coffecup form builder, but not satisfied. Anyone one can suggest some more …
Hi there Im doing my web site and i have came across a little bit of coding i wish to change - i thought it could be changed in CSS but i don't think it can. Basically im using a "title="Image 3" tag to use as a brief description of …
Hi I'm trying to collect some information from the user regarding a complaint. In my form I have 3 select menus and a text box. I'm populating the 2nd menu depending on the 1st menu's choice.(The data is stored in a mysql database). When the user clicks submit the choice …
Please any one can help to Expand and Collapse of menu with round corner with "expand image" and "collapse Image". i have attaching a link for reference [URL="http://www.sothink.com/product/treemenu/samples/statecode/statecode.php"]http://www.sothink.com/product/treemenu/samples/statecode/statecode.php[/URL] In this in place of '+' icon replace as "expand image" as well as '-' icon like tree menu [IMG]http://javascripttreemenu.com/img/seo-vertical-tree-navigation-17.jpg[/IMG]
I'm trying to display the same image several times using javascript. It can range anywhere from 0 to about 50. I'll also have its' location determined by the user click and each image will timeout after a short period of time. I figure i'll have to create a new object …
Hi, I have an assignment where I have a drop down list that is created dynamically that uses the content from the h3 tags in the body as the options in addition to the first option being "Show entire script" The content of the body is actually a screenplay with …
[CODE]how to start coding for webbased miniproject like this discussion forum[/code]
Hi, i made a search engine in php. But its only working in mozillah firefox. Do some one know what is worng ?
Hello all, i posted this a while ago and the thread closed, this was my original question: [CODE]<script type="text/javascript"> $(function() { $('#inlineDatepicker').datepick({ rangeSelect: true, monthsToShow: 3, minDate: '+7d', rangeSeparator: '|', altField: '#resdate', altFormat: 'dd-mm-yyyy', pickerClass: 'locgrid', onDate: nationalDays } ); }); var natDays = [[12, 18, 2010], [12, 19, 2010]]; …
Hey all, I'm trying to create a simple <select> menu in which the options are not text, but images. How can I go about doing this? I tried <option value="x"><img src="xx" /></option> with no success... If no solution exists with HTML, is there a solution with JavaScript or any other …
Hi Guys, I'm trying to get an image to show instead of text in this button array [CODE]$button = array( 'id' => 'not_friends', 'component' => 'friends', 'must_be_logged_in' => true, 'block_self' => true, 'wrapper_class' => 'friendship-button not_friends', 'wrapper_id' => 'friendship-button-' . $potential_friend_id, 'link_class' => '', 'link_href' => wp_nonce_url( $bp->loggedin_user->domain . $bp->friends->slug …
Hey everyone! After some research I have found that I need some javescript help to process a users click from a html drop down select list.. I am trying to create an admin area for a website in php and using mysql database. In my admin home page, I have …
Hello, I am using a java script to select a date from date picker.After selecting date from calender,it shown in the text box but it is not saved in the database. In database takes this value 0000-00-00 for every date. Please suggest me any idea for above. Thanks
The End.